PDA

View Full Version : php mail form (not another one!!)



Coolidge
March 11th, 2003, 05:00 AM
I know this is a question that gets asked at least once a day, but I have been following this php mail tutorial from here (http://codewalkers.com/tutorials.php?show=10&page=1)and I can't seem to get an e mail to go to my account.

I have the php form adjusted with my information (and in the same folder as my swf file). I've checked with readyhosting (http://www.readyhosting.com), my site host, and it says that it supports php.

Am I placing the script in the wrong place (folder)?

Or...Should I scrap this tutorial and try another, or should I go with a different type of script all together?

Thank you in advance,
Coolidge

Jubba
March 11th, 2003, 08:48 AM
at the top of your php code put this:



$name = $_POST['name'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$email = $_POST['email'];


thats assuming you followed the tutorial exactly and that you used the variables name, subject, message, and email. try adding that to your code... here is another case where they needed to do that...

http://64.207.155.38/forums/showthread.php?s=&threadid=15399&highlight=%24POST

Coolidge
March 18th, 2003, 09:26 AM
thanks for your help, but I've checked and double checked my code as well as the variable names and still no luck. Do you think it matters whether or not I am using MX when the tutorial is made for Flash 5?

thanks,
Sean

Jubba
March 18th, 2003, 11:43 AM
its shouldn't matter... here check out these two threads that I wrote. they should help and then include the source files:

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604


and

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17313