I feel really stupid but really need some help, please!
Posted: Sun Apr 02, 2006 10:49 pm
hello everyone -- I am a complete PHP newbie and I am having some real trouble with this really basic form script that's being called from Flash variables. I had it working and now it just returns the form with no inputs from the user? The mail address seems to work, the rest of the text also arrives but there are NO user inputs at all. ???
I would truly be thankful for any assistance!
(pixiexxx)
______________
<?php
$sendTo = "email@address.com";
$subject = "website form reply";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
$message="An online application has been received from $name
The applicants e-mail address was: $email
State: $state
City: $city
Session date requested: $requestdate
Age: $age
Phone Number: $phone
Occupation: $occupation
The applicant agreed to terms: $terms";
mail($sendTo, $subject, $message, $headers);
?>

I would truly be thankful for any assistance!
(pixiexxx)
______________
<?php
$sendTo = "email@address.com";
$subject = "website form reply";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
// next include a replyto
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
$message="An online application has been received from $name
The applicants e-mail address was: $email
State: $state
City: $city
Session date requested: $requestdate
Age: $age
Phone Number: $phone
Occupation: $occupation
The applicant agreed to terms: $terms";
mail($sendTo, $subject, $message, $headers);
?>