Question
PHP mailto problems
Hi, i am developing a PHP powered form for visitors to leave
feedback on our website. Can anyone suggest a reason why it is only
returning the email address and no other infromation entered
please?
the PHP script is as follws:
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "example@example.com", "Customer Feedback Form Results",
"$message\nTitle: $title\nForename: $forename\nSurname: $surname\nEmail Address: $email\nAddress Line 1: $address1\nAddress Line 2: $address2\nAddress Line 3: $address3\nPost Code: $postcode\nTelephone: $telephone\nFax: $fax\nQuestion1: $question1\nQuestion2: $question2",
"From: $email" );
header( "Location: http://www.example.com/feedbackreceived.htm" );
?>
Thanks in advance for any help!
Dan
the PHP script is as follws:
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "example@example.com", "Customer Feedback Form Results",
"$message\nTitle: $title\nForename: $forename\nSurname: $surname\nEmail Address: $email\nAddress Line 1: $address1\nAddress Line 2: $address2\nAddress Line 3: $address3\nPost Code: $postcode\nTelephone: $telephone\nFax: $fax\nQuestion1: $question1\nQuestion2: $question2",
"From: $email" );
header( "Location: http://www.example.com/feedbackreceived.htm" );
?>
Thanks in advance for any help!
Dan
