Help With Flash Form & Php Before I Kill Myself - Please!

Hey Everyone,

I’m sure hoping that there is someone out there who can help get this flash form and php script to function right. I just can’t seem to get it to work no matter what I do. I have attached to the files here so you can take a look. Maybe there’s something I’m missing and one of you could point it out - please!

Thanks,

Kelly :*(

php should be:


mail("kellynunes@lvcm.com", $subject, "Name :name
Email :".$email."
Comments :."$comments."", "From: PHPMailer
Reply-To: $email
X-Mailer: PHP/" . phpversion());

and for each variable do this:


$Variable = $_POST['variable'];

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

Jubba,

Thanks for the help, but I’m still a bit confused. Where do I list the variables within the script - before or after that first line? Please let me know.

Thanks,

Kelly: eye:

before the mail() line.

Ok Jubba,

tell me if this is correct:


<?php
$firstName = $_POST['firstName'];
$lastName = $_POST['lastName'];
$visitorAddress = $_POST['visitorAddress'];
$visitorCity = $_POST['visitorCity'];
$visitorState = $_POST['visitorState'];
$visitorZip = $_POST['visitorZip'];
$daytimePhone = $_POST['daytimePhone'];
$eveningPhone = $_POST['eveningPhone'];
$visitorEmail = $_POST['visitorEmail'];
$loanType = $_POST['loanType'];
mail("kellynunes@lvcm.com", $subject, "Name :name
Email :".$email."
Comments :."$comments."", "From: PHPMailer
Reply-To: $email
X-Mailer: PHP/" . phpversion());
?>

Please let me know if I’m right or if I have screwed up.

Thanks,

Kelly

that should work, but where is the varialbe $comments coming from? it just appears…

Uhhhhh, I have no idea what your referring to? However, I have tested this **** thing and it still doesn’t work. I am not receiving anything in my e-mail, no test e-mails, not errors messages, no nothing. Riiiiiiiiiip, there goes a clump of hair!!!

Kelly

you don’t define $comments anywhere…

Jubba,

I think I know what variable you’re talking about now, but I am not sure why it’s there or what it’s for. In the script that you posted it’s in there too. Should I remove that variable from the script since it seems to have no meaning or use? Please advise before I jump out my window…

Thanks,

Kelly