Topic awaiting preservation: PHP-Email the contents of the form. (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
posted 11-21-2008 19:20
I have a prob with receiving the contents of the form by email. |
Maniac (V) Mad Scientist From: Denver, CO, USA |
posted 11-21-2008 20:49
Well, there's nothing there that would kick an error except for the mail() command, but since it's successfully sending it, it's not giving you any feedback as to why it's coming up blank. code: if($_POST){
|
Bipolar (III) Inmate From: Minnesota |
posted 11-21-2008 21:36
what version of PHP are you using? I don't believe that PHP5 has HTTP_POST_VARS any longer. You should use $_POST instead. |
Obsessive-Compulsive (I) Inmate From: |
posted 11-22-2008 07:41
Thank you so much, |
Obsessive-Compulsive (I) Inmate From: |
posted 11-22-2008 08:21
Hello, |
Obsessive-Compulsive (I) Inmate From: |
posted 11-22-2008 08:50
Heyyyy |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 11-24-2008 09:53
code: $headers .= "Reply-To: ".$HTTP_POST_VARS['email']; $headers="MIME-Version: 1.0\r\n"; $headers.="Content-type: text/html; charset=iso-8859-1\r\n"; $headers.="From:".$HTTP_POST_VARS['email'];
|
Maniac (V) Mad Scientist From: Denver, CO, USA |
posted 11-25-2008 15:47
Cannot stress enough what Tyberius Prime said; header injection totally sucks. Make sure you clean up that loophole, and investigate any other possible injection attacks; google around for easy to fix things, and make sure your site is secure. You don't want to be the target of an attack. |
Maniac (V) Mad Scientist From: :morF |
posted 11-27-2008 11:57
Yeah, don't rely on the javascript validator. That's so easy to get around it's not funny. |