Hi There,
I'm sure this is something very stupid like I've missed a full stop somewhere but I've been through it about 8 times and my head hurts now...
After the submit button is clicked my 3rd page comes up fine but instead of all the details coming through all I get is an email like this:
(unknown sender)
First_Name:
Last_Name:
Email:
Telephone:
Here's the php code I'm using if anyone can spot what I've done wrong please point it out it's doing my head in!
<?php
@$First_Name = addslashes($_POST['First_Name']);
@$Last_Name = addslashes($_POST['Last_Name']);
@$Email = addslashes($_POST['Email']);
@$Telephone = addslashes($_POST['Telephone']);
$pfw_header = "From: $Email\n"
. "Reply-To: $Email\n";
$pfw_subject = "Lottery Report";
$pfw_email_to = "simon.p.fisher@googlemail.com";
$pfw_message = "First_Name: $First_Name\n"
. "Last_Name: $Last_Name\n"
. "Email: $Email\n"
. "Telephone: $Telephone\n"
;
*****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
header("Location: page3.html");
?>
And here's the first link again www.report4free.co.uk
Like I say all 3 pages come up fine I'm just not getting any details.
Cheers,
Si
I'm sure this is something very stupid like I've missed a full stop somewhere but I've been through it about 8 times and my head hurts now...
After the submit button is clicked my 3rd page comes up fine but instead of all the details coming through all I get is an email like this:
(unknown sender)
First_Name:
Last_Name:
Email:
Telephone:
Here's the php code I'm using if anyone can spot what I've done wrong please point it out it's doing my head in!
<?php
@$First_Name = addslashes($_POST['First_Name']);
@$Last_Name = addslashes($_POST['Last_Name']);
@$Email = addslashes($_POST['Email']);
@$Telephone = addslashes($_POST['Telephone']);
$pfw_header = "From: $Email\n"
. "Reply-To: $Email\n";
$pfw_subject = "Lottery Report";
$pfw_email_to = "simon.p.fisher@googlemail.com";
$pfw_message = "First_Name: $First_Name\n"
. "Last_Name: $Last_Name\n"
. "Email: $Email\n"
. "Telephone: $Telephone\n"
;
*****($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ;
header("Location: page3.html");
?>
And here's the first link again www.report4free.co.uk
Like I say all 3 pages come up fine I'm just not getting any details.
Cheers,
Si
Comment