View Single Post
  #1  
Old 05-02-2008, 10:53 PM
carlosarano carlosarano is offline
Sergeant
 
Join Date: Jun 2007
Posts: 39
Default contact & thank you forms

Hi:

1.- I'm having same problems that other people post.
I followed several times tutorial # 1 but my results aren't good.
I add:
<?PHP
$mailto = "c_arano******.com.ar";
$email = $HTTP_POST_VARS[email];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "contact form submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site contact form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
Since I didn't change the RED LINE, I believe my error is there. In my testings I am getting mails saying: "Values submitted from web site contact form" instead the listing of information written by me at the contact form.

2.- The other problem I have is that my reset button at the contact form is not working as expected.

I will appreciate your help.
carlosarano
c_arano******.com.ar
be38797f
Reply With Quote