email sender php project

3
 Email.php <!DOCTYPE H TML PUBL IC "- //W3C//DTD HTML 4.01 Transiti onal//EN" "http:/ /www.w3 .org/TR/ html4 /loose.dtd"> <html> <head> <title>Email</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <? //Simple emai l f orm scr ipt //Ben Speakman $sub = $_ GET ['sub'] ;/ /Gets the subject and the to address $to = $_GET['to']; ?> <body> <form action="http://yoursite.com/sent.php" method="post"> <p class="title">Email</p> <p class="tiny">To<br> <input name="email to" type="tex t" value="< ? echo "$to" ?>" size ="3 0" readonly="true"> <br> Name: <br> <input name="name" type="text" size="30"> <br> Email: <br> <input name="email " type="text " size="30"> <br> Subje ct: <br> <input name="subje ct" type="text" value= "<? echo "$sub" ?>" si ze="30 " readonly ="true"> <br> Message:<br> <textarea name="message" cols="60" rows="10">< /textarea> <br> <input type ="submit" name="submit" value="Send"> <input type="reset" name="Reset" value="Reset"> </p> </form>

Upload: zeroxcool4968

Post on 07-Oct-2015

12 views

Category:

Documents


0 download

DESCRIPTION

Email Sender Php Project

TRANSCRIPT

  • Email.php

    Email

    Email

    To

  • Sent.php

    Email

    Email