batas
01-07-2010, 06:54 PM
my PHP contact form stopped working on my site.(hosted on Yahoo server) I still able to receive it, but without any data input, or contents.Just like that:
Hi,
Following are the details of new request from "Report technical issue" form.
Name:
Company:
Address:
Email Address:
Phone Number:
Type of Issue:
Comments:
Thank You,
Here is the code:
Hi,<br>
<p>Following are the details of new request from \"Report technical issue\" form.</p>
<p><strong>Name</strong>: $yname<br>
<strong>Company</strong>: $company<br>
<strong>Address</strong>: $address<br>
<strong>Email Address</strong>: $emailadd<br>
<strong>Phone Number</strong>: $phone<br>
<strong>Type of Issue</strong>: $type<br>
<strong>Comments</strong>: $questions</p>
<p><strong>Thank You,<br>
<a target=\"_blank\" style=\"text-decoration:none;\" href=\"http://www.mysite.com/\">mysite.Com</a></strong><br>
<a style=\"text-decoration:none;\" href=\"mailto:info@mysite.com\">info@mysite.com</a></p>
</font>
";
$emailto = "info@mysite.com";
$tsubject = "Technical issue Found";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
@mail($emailto, $tsubject, $ttext, $headers);
header("Location: $thankyoupage");
exit;
?>
Any ideas what could be a problem? I really appreciate it.:(
Hi,
Following are the details of new request from "Report technical issue" form.
Name:
Company:
Address:
Email Address:
Phone Number:
Type of Issue:
Comments:
Thank You,
Here is the code:
Hi,<br>
<p>Following are the details of new request from \"Report technical issue\" form.</p>
<p><strong>Name</strong>: $yname<br>
<strong>Company</strong>: $company<br>
<strong>Address</strong>: $address<br>
<strong>Email Address</strong>: $emailadd<br>
<strong>Phone Number</strong>: $phone<br>
<strong>Type of Issue</strong>: $type<br>
<strong>Comments</strong>: $questions</p>
<p><strong>Thank You,<br>
<a target=\"_blank\" style=\"text-decoration:none;\" href=\"http://www.mysite.com/\">mysite.Com</a></strong><br>
<a style=\"text-decoration:none;\" href=\"mailto:info@mysite.com\">info@mysite.com</a></p>
</font>
";
$emailto = "info@mysite.com";
$tsubject = "Technical issue Found";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
@mail($emailto, $tsubject, $ttext, $headers);
header("Location: $thankyoupage");
exit;
?>
Any ideas what could be a problem? I really appreciate it.:(