Log in

View Full Version : mail() with $_POST vars in a .inc file



cowguru2000
01-22-2007, 11:55 PM
Hi,

I'm trying to figure out how to make a message from a .inc file that I included. I used $_POST variables that seem to work fine in the main file, but in the .inc file they don't show up! :eek: :mad:

AAGGH!

I'm assigning the $_POST's to variables (ex. $variable = $_POST['blah']
I'm concatenating the strings, so the message is like "blah blah blah".$variable."blah blah".$othervar."blah.";

If you need more info just say so.