Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
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)
______________Code: Select all
<?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);
?>Jcart | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]