Hi to all!
I have the followings:
HTML FORM CODE:
<form name=”cnbform” action=cnbform.php method=post>
<table width=”375″ border=”0″ cellpadding=”0″ cellspacing=”0″ summary=””>
<tr>
<td class=”formtxttd style3 style1 small”><strong>Full name:</strong></td>
<td width=”241″><INPUT size=30 name=fullname value=”Enter your name here” onclick=”document.cnbform.fullname.value=”;”></td>
</tr>
<tr>
<td class=”formtxttd style3 style1 small”><strong>Company:</strong></td>
<td><INPUT size=30 name=company value=”Enter your company name here” onclick=”document.cnbform.company.value=”;”></td>
</tr>
<tr>
<td class=”formtxttd style3 style1 small”><strong>Your email:</strong></td>
<td><INPUT size=30 name=youremail value=”Enter your email address here” onclick=”document.cnbform.youremail.value=”;”></td>
</tr>
<tr>
<td class=”formtxttd style3 style1 small”><strong>Contact number:</strong></td>
<td><INPUT size=30 name=contactnumber value=”Enter your contact number here” onclick=”document.cnbform.contactnumber.value=”;”></td>
</tr>
<tr>
<td class=”formtxttd style3 style1 small”><strong>Subject:</strong></td>
<td><INPUT size=30 name=subject value=”Enter the subject here” onclick=”document.cnbform.subject.value=”;”></td>
</tr>
<tr>
<td colspan=”2″ class=”formtxttd style3 style1 small”><strong>Your message:</strong></td>
</tr>
<tr>
<td colspan=”2″><textarea style=”WIDTH:369px;HEIGHT:150px;overflow:hidden” name=yourmessage rows=8 cols=30></textarea></td>
</tr>
<tr>
<td colspan=”2″ class=”formtxttd style3 style1 small”><a href=”javascript:submitform()”>send</a> | <a href=”javascript:resetform()”>reset</a></td>
</tr>
</table> </form>
######################################
cnbform.php code:
<?
$message=
“
Name: “.$fullname.”
Company: “.$company.”
eMail: “.$youremail.”
Contact number: “.contactnumber.”
Subject: “.$subject.”
Message: “.$yourmessage.”
“;
$message = stripslashes($message);
mail(“
header( “Location:
?>
################
On my domain is working fine… but on my client’s domain I get these errors:
Notice: Undefined variable: fullname in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 4
Notice: Undefined variable: company in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 5
Notice: Undefined variable: youremail in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 6
Notice: Use of undefined constant contactnumber – assumed ‘contactnumber’ in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 7
Notice: Undefined variable: subject in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 8
Notice: Undefined variable: yourmessage in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 9
Notice: Undefined variable: subject in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 13
Notice: Undefined variable: youremail in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 13
Warning: Cannot modify header information – headers already sent by (output started at C:inetpubcatapultnewbusiness.comwwwrootcnbform.php:4) in C:inetpubcatapultnewbusiness.comwwwrootcnbform.php on line 14
Please help me ? ? ?