![]() Topic awaiting preservation: PHP-Email the contents of the form. (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted From: |
![]() I have a prob with receiving the contents of the form by email. |
Maniac (V) Mad Scientist From: Denver, CO, USA |
![]() 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 |
![]() 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: |
![]() Thank you so much, |
Obsessive-Compulsive (I) Inmate From: |
![]() Hello, |
Obsessive-Compulsive (I) Inmate From: |
![]() Heyyyy |
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() 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 |
![]() 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 |
![]() Yeah, don't rely on the javascript validator. That's so easy to get around it's not funny. |