|
|
|
|
|
|
![]() |
#9 |
Nobody gets into heaven without a glowstick
|
This is what I've got so far
<?php // Capture info sent from the form in variables $Title = $_REQUEST['Title:']; $URL = $_REQUEST['URL:']; $Category = $_REQUEST['Category']; $Type = $_REQUEST['Type']; $Comments = $_REQUEST['Comments']; $nickname = $_REQUEST['nickname']; $email = $_REQUEST['email']; // Print out one of the vars on the page just to make sure you got it echo "Thanks for submitting to The Sexwitch! You will receive an e-mail about your site once it has been reviewed. $message<BR>"; // The message $message = "Line 1\nLine 2\nLine 3"; // Email it to myself $message = "$Title\n$URL\n$Category"; $address = ' sexwitch@sexwitch.com'; $subject = 'Sexwitch Submit'; $email = ' blank'; $header = ' sexwitch@sexwitch.com'; mail($address,$subject,$email,$header,$message); ?> It sends an e-mail with headers with the word "blank" in the body. Now I can't figure how to add the captured text from the form into the email. |
![]() |
![]() |
|
|