Need help with contact form - n00b
Posted: Sat Nov 28, 2009 5:26 am
Hi.
Could I please get some help with this, I have never used PHP before (hardly), and I have this contact form that doesn't work.
The form was made in dreamver cs4, and the input boxes are named: your_email, your_name and message. Here is the external php script.
<?php
$your_name = "your_name";
$your_email = "your_email";
$message = "message";
$header = "from: $your_name <$your_email>";
$to = "contact_form@keycutwebdesign.com.au";
$send_email=mail($to,$header,$message);
header( "Location: http://www.mysite.com.au/thankyou.html" );
?>
I know that the php works to some extent, because it loads the thankyou page in the header. However, my inbox isn't recieving emails.
Could someone please help me? total n00b i am
Could I please get some help with this, I have never used PHP before (hardly), and I have this contact form that doesn't work.
The form was made in dreamver cs4, and the input boxes are named: your_email, your_name and message. Here is the external php script.
<?php
$your_name = "your_name";
$your_email = "your_email";
$message = "message";
$header = "from: $your_name <$your_email>";
$to = "contact_form@keycutwebdesign.com.au";
$send_email=mail($to,$header,$message);
header( "Location: http://www.mysite.com.au/thankyou.html" );
?>
I know that the php works to some extent, because it loads the thankyou page in the header. However, my inbox isn't recieving emails.
Could someone please help me? total n00b i am