![]() Topic awaiting preservation: Email in PHP (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() I have created a simple form to be sent via email in PHP> |
Lunatic (VI) Inmate From: under the bed |
![]() Before anything else, throw a test page up which, rather than attempting to send an email, simply spits out the variables you are using. Make sure your data is actually making it through. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() Whatever your testing brings: Don't use this form as it is. |
Nervous Wreck (II) Inmate From: |
![]() Thanks Tyberius Prime & DL-44, |
Maniac (V) Mad Scientist with Finglongers From: Germany |
![]() Honestly - you ned to read up on this instead of just patching something together. code: if ( strpos ( $HTTP_POST_VARS['email'], "\r") !== false ) || ( strpos ( $HTTP_POST_VARS['email'], "\n") !== false ) || die ( "Header injection")
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Check out this bit on Email Injection |
Lunatic (VI) Inmate From: under the bed |
![]() Take a look at this thread as well - http://www.ozoneasylum.com/27650 |