contact form php project

4
 Index.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml ns="http://www .w3.o rg/19 99 /xhtml "> <head> <title>Contact Form</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!-- <link href="defaul t .css" rel ="sty leshee t" type="tex t/css" /> --> </head> <body> <p> This i s a standard contact form that will work with the mail file in this package. Simply copy and paste the foll owing code and style as appropr iate.</p> <form action="mail.php" method="post"> <label>Name:</label><input type="text" name="name" /><br/> <label>Email Address:</l abel>< input type="text " name="email " /><br /> <label>Message:</label><textarea name="query"></textarea><br/> <input type="submi t" name="submi t" value ="S end" /> </form> </body> </html>

Upload: zeroxcool4968

Post on 07-Oct-2015

7 views

Category:

Documents


0 download

DESCRIPTION

Contact Form Php Project

TRANSCRIPT

  • Index.html

    Contact Form

    This is a standard contact form that will work with the mail file in this package. Simply copy and paste the following code and style as appropriate.

    Name:

    Email Address:

    Message:

  • Mail.php
  • mail($mailto, "$sitename Contact Form Enquiry from $name", $message, "From: $email");

    header("Location: " . $returnpage);

    ?>

  • Thankyou.html

    Contact Form

    Thank you for contacting up, we will get back to you as soon as possible.