Hallo,
ich habe ein problem mit meinem php mailformular.
Es kommt zwar eine email an an xx@web.de aber sie ist leer.
Die variablen werden scheinbar nicht übertragen.
--------------------------MAIL.PHP----------------------------
<html>
<head>
<Title>Investment Society Mailscript></title>
</head>
<body onload="window.resizeTo(300,280);">
<body background="investbackground.jpg">
<BODY topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<?php mail("xxx@web.de", $FirstName, $LastName, "From: $FirstName\nReply-To: $from\nX-Mailer: PHP/" . phpversion()); ?>
<img src="barcode.gif"><br>
<tt><font size="2" color="#FFFFFF" face="Verdana,Arial">Thanks for registration</tt>
</font>
</body>
<html>
----------------------THE HTML FILE------------------------------
<td colspan="4" width="805" height="261" background="new_black_main_background.jpg">
<table width="786" height="227" border="0">
<tr>
<td height="21"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="475" height="32"><font size="1"> </font></td>
<td width="99"><strong><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">First
Name :</font></strong></td>
<td width="198"><input name="FirstName :" type="text" id="FirstName"></td>
</tr>
<tr>
<td rowspan="6"><font size="1"> </font></td>
<td><strong><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">Last
Name :</font></strong></td>
<td><input name="LastName :" type="text" id="LastName"></td>
</tr>
ich habe ein problem mit meinem php mailformular.
Es kommt zwar eine email an an xx@web.de aber sie ist leer.
Die variablen werden scheinbar nicht übertragen.
--------------------------MAIL.PHP----------------------------
<html>
<head>
<Title>Investment Society Mailscript></title>
</head>
<body onload="window.resizeTo(300,280);">
<body background="investbackground.jpg">
<BODY topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<?php mail("xxx@web.de", $FirstName, $LastName, "From: $FirstName\nReply-To: $from\nX-Mailer: PHP/" . phpversion()); ?>
<img src="barcode.gif"><br>
<tt><font size="2" color="#FFFFFF" face="Verdana,Arial">Thanks for registration</tt>
</font>
</body>
<html>
----------------------THE HTML FILE------------------------------
<td colspan="4" width="805" height="261" background="new_black_main_background.jpg">
<table width="786" height="227" border="0">
<tr>
<td height="21"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="475" height="32"><font size="1"> </font></td>
<td width="99"><strong><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">First
Name :</font></strong></td>
<td width="198"><input name="FirstName :" type="text" id="FirstName"></td>
</tr>
<tr>
<td rowspan="6"><font size="1"> </font></td>
<td><strong><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">Last
Name :</font></strong></td>
<td><input name="LastName :" type="text" id="LastName"></td>
</tr>
Kommentar