Page 1 of 1

Help with php contact form on flash template

Posted: Thu Jan 22, 2009 10:46 am
by digital.patience
I need some help, I have customized this website http://www.thelonephotographer.com but the contact form does not work.

Here is the code, someone please tell me what I am doing wrong, :? Thank you!

Code: Select all

<?php
$sendTo = "doximagry@gmail.com";
$subject = "(Website) - Contact Form";
$email = $_POST['email'];
$name = $_POST['name'];
$message = $_POST['message'];
    //send mail
    $headers  = "From: $email\r\n";
    //$headers .= 'MIME-Version: 1.0' . "\r\n";
    //$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    $msg = "The following information has been submited via website:\n\nE-mail:".$email."\n\nName:".$name."\n\nMessage:".$message."";
    mail($sendTo, $subject, $msg, $headers);
    echo header ("Location: http://www.thelonephotographer.com");
?>
 

Re: Help with php contact form on flash template

Posted: Thu Jan 22, 2009 11:20 am
by Burrito
what kind of errors are you getting?

Re: Help with php contact form on flash template

Posted: Fri Jan 30, 2009 11:46 am
by digital.patience
No errors ...it is just that nothing is happening when I try to fill out the form and send it...