I feel really stupid but really need some help, please!

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Locked
pixelvixen
Forum Newbie
Posts: 10
Joined: Sun Apr 02, 2006 10:41 pm

I feel really stupid but really need some help, please!

Post by pixelvixen »

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);

?> :? :?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Please do not make multiple, identical, posts.

What is with double posters tonight?

Topic Locked.
Locked