Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2005-07-26, 11:00 PM   #9
ponyman
Nobody gets into heaven without a glowstick
 
ponyman's Avatar
 
Join Date: Jun 2004
Location: The Great Northwest
Posts: 422
Send a message via ICQ to ponyman
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.
__________________
Dirty Old Men Sponsors - gay & straight
ponyman is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:54 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc