salve volevo chiedervi se è possibile inviare una newsletter sia in html (per il testo) che in php (per esempio i dati di login).
ecco il codice html:
il codice php che vorrei inserire è questo:
come faccio??
Grazie in anticipo
ecco il codice html:
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
body, .mainTable { height:100% !important; width:100% !important; margin:0; padding:0; }
img, a img { border:0; outline:none; text-decoration:none; }
.imageFix { display:block; }
table, td { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;}
p {margin:0; padding:0; margin-bottom:0;}
.ReadMsgBody{width:100%;} .ExternalClass{width:100%;}
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div{line-height:100%;}
img{-ms-interpolation-mode: bicubic;}
body, table, td, p, a, li, blockquote{-ms-text-size-adjust:100%; -webkit-text-size-adjust:100%;}
</style>
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
</head>
<body scroll="auto" style="padding:0; margin:0; FONT-SIZE: 12px; FONT-FAMILY: Arial, Helvetica, sans-serif; cursor:auto; background:#F3F3F3">
<TABLE class=mainTable cellSpacing=0 cellPadding=0 width="100%" bgColor=#f3f3f3>
<TR>
<TD style="FONT-SIZE: 0px; HEIGHT: 20px; LINE-HEIGHT: 0"> </TD></TR>
<TR>
<TD vAlign=top>
<TABLE style="WIDTH: 616px; MARGIN: 0px auto" cellSpacing=0 cellPadding=0 width=616 align=center border=0>
<TR>
<TD style="BORDER-TOP: #dbdbdb 1px solid; BORDER-RIGHT: #dbdbdb 1px solid; BORDER-BOTTOM: #dbdbdb 1px solid; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; BORDER-LEFT: #dbdbdb 1px solid; PADDING-RIGHT: 0px; BACKGROUND-COLOR: #feffff">
<TABLE style="WIDTH: 100%" cellSpacing=0 cellPadding=0 align=left>
<TR style="HEIGHT: 10px">
<TD style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; WIDTH: 100%; VERTICAL-ALIGN: top; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 35px; TEXT-ALIGN: center; PADDING-TOP: 35px; PADDING-LEFT: 15px; BORDER-LEFT: medium none; PADDING-RIGHT: 15px; BACKGROUND-COLOR: #feffff">
<TABLE cellSpacing=0 cellPadding=0 align=center border=0>
<TR>
<TD style="PADDING-BOTTOM: 15px; PADDING-TOP: 2px; PADDING-LEFT: 2px; PADDING-RIGHT: 2px" align=center>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TR>
<TD style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BACKGROUND-COLOR: transparent"><IMG style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; DISPLAY: block; BACKGROUND-COLOR: transparent" border=0 src="www.tuttitrucchiinvitaamici.altervista.org/registrazione_files/Image_1.png" width=580 height=200 hspace="0" vspace="0"></TD></TR></TABLE></TD></TR></TABLE>
<P style="FONT-SIZE: 18px; MARGIN-BOTTOM: 1em; FONT-FAMILY: Arial, Helvetica, sans-serif; MARGIN-TOP: 0px; COLOR: #a8a7a7; LINE-HEIGHT: 155%; BACKGROUND-COLOR: transparent; mso-line-height-rule: exactly" align=center><STRONG>Dati di Login</STRONG></P>
<P style="FONT-SIZE: 12px; MARGIN-BOTTOM: 1em; FONT-FAMILY: Arial, Helvetica, sans-serif; MARGIN-TOP: 0px; COLOR: #a7a7a7; LINE-HEIGHT: 155%; BACKGROUND-COLOR: transparent; mso-line-height-rule: exactly" align=center>La ringraziamo di essersi registrato sul sito di Tuttitrucchi $newfullname.<BR>Ecco a lei le credenziali di accesso al sito<STRONG>:<BR></STRONG></P>
<P style="FONT-SIZE: 12px; MARGIN-BOTTOM: 1em; FONT-FAMILY: Arial, Helvetica, sans-serif; MARGIN-TOP: 0px; COLOR: #a7a7a7; LINE-HEIGHT: 155%; BACKGROUND-COLOR: transparent; mso-line-height-rule: exactly" align=center><STRONG>Username:</STRONG>$newusername<BR><STRONG>Passowrd:</STRONG>$newpassword<BR></P>
<P style="FONT-SIZE: 12px; MARGIN-BOTTOM: 1em; FONT-FAMILY: Arial, Helvetica, sans-serif; MARGIN-TOP: 0px; COLOR: #a7a7a7; LINE-HEIGHT: 155%; BACKGROUND-COLOR: transparent; mso-line-height-rule: exactly" align=center>Per accedere alla pagina di Login clicchi il pulsante sottostante</P>
<DIV style="TEXT-ALIGN: center; MARGIN: 20px 0px 0px"><A href="http://www.tuttitrucchi.net/Login.php"><IMG title="" border=none alt=Login img src="www.tuttitrucchiinvitaamici.altervista.org/registrazione_files/Image_2.png"> </A></DIV></TD></TR></TABLE></TD></TR></TABLE></TD></TR>
<TR>
<TD style="FONT-SIZE: 0px; HEIGHT: 8px; LINE-HEIGHT: 0"> </TD></TR></TABLE>
il codice php che vorrei inserire è questo:
PHP:
Username:$newusername
Password:$newpassword
come faccio??
Grazie in anticipo