I'm having the exact same problem. The info captured from a form are emailed to me empty. This is the php side of the form and the form is at
http://www.hawkridge.org/research/nesting.htmlAny help with this problem will be appreciated.
<html>
<title>Send information to researchers</title>
<head>
</head>
<body>
<?php
$name=addslashes($_POST['name']);
$name = str_replace("\n.", "\n..", $name);
$address=addslashes($_POST['address']);
$address= str_replace("\n.", "\n..", $address);
$contact=addslashes($_POST['contact']);
$contact= str_replace("\n.", "\n..", $contact);
$phone=addslashes($_POST['phone']);
$phone= str_replace("\n.", "\n..", $phone);
$email=addslashes($_POST['email']);
$email= str_replace("\n.", "\n..", $email);
$species=addslashes($_POST['species']);
$species= str_replace("\n.", "\n..", $species);
$location=addslashes($_POST['location']);
$location= str_replace("\n.", "\n..", $location);
$location = wordwrap($location,70);
$description=addslashes($_POST['description']);
$description= str_replace("\n.", "\n..", $description);
$description = wordwrap($description,70);
$dates=addslashes($_POST['dates']);
$dates= str_replace("\n.", "\n..", $dates);
$comments=addslashes($_POST['comments']);
$comments= str_replace("\n.", "\n..", $comments);
$comments = wordwrap($comments,70);
$msg = "Name: $name\n".
"Address: $address\n".
"May We Contact You?: $contact\n".
"Phone: $phone\n".
"Email: $email\n".
"Species: $species\n".
"Location: $location\n".
"Description: $description\n".
"Dates: $dates\n".
"Comments: $comments\n";
$to = '
koomori@mail.com';
$email = '
fnicoletti@hawkridge.org';
$subject = 'Raptor Nesting Survey';
mail($to, $subject, $msg, 'From: '. $email);
echo "Thank you for participating in our survey<br /><br />";
echo "Return to <a href='
http://www.hawkridge.org/research/nesting.html'>Nesting Form</a><br /><br />";
echo "Return to <a href='
http://www.hawkridge.org'>Hawk Ridge Home Page</a><br /><br />";
?>
</body>
</html>