Posted by Dave Pyles on 06/09/05 02:07
I'm trying to make a form work, which it does from Firefox (and
Netscape) but not from Internet Explorer.
The form is simple:
<form action="register.php" method="post"><p>';
print '
<p class="txtni">All Fields below are required:</p>
<span class="txtni">First Name:</span> <input type="text"
name="first_name" size="20" value="' . $_POST['first_name'] . '" /> <br />
<span class="txtni">Last Name:</span> <input type="text"
name="last_name" size="20" value="' . $_POST['last_name'] . '" /><br />
<span class="txtni">Email Address:</span> <input type="text"
name="email" size="40" value="' . $_POST['email'] . '" /><br /><br />
<span class="txtni">Phone Number:</span> <input type="text" name="phone"
size="20" value="' . $_POST['phone'] . '" /></p>
....
some instructions...
<p><span class="txt">Your Message:</span> <textarea "name="message"
cols="80" rows="5" value="' . $_POST['message'] . '"
/></textarea></span></p>
<p align="center"><input type="submit" name="submit" value="Send email
to Volunteer Coordinators!" /></p>
</form>'
I'm using the following to send the form results:
$body="Another Happy Volunteer has signed up,
Name: {$_POST['first_name']} {$_POST['last_name']}\n
Phone Number: {$_POST['phone']}\n
Email Address: {$_POST['email']}\n
Message: {$_POST['message']}";
mail("mail@address.com", 'Another Happy Volunteer Had Signed Up',$body,
"From: mail@addreess.com\r\n"."Reply-To: {$_POST['EMAIL']}");
When the form is sent via IE the field named "message" is dropped from
the email. When it's sent from Mozilla browsers the email is complete.
Does anyone have a clue why this works when sent from the Mozilla
browsers but not when sent from IE? Any clues as to how I might resolve
the problem.
Dave Pyles
[Back to original message]
|