honeyboy_20 Posted September 12, 2006 Share Posted September 12, 2006 [code]i want to add some feature to this script such as(1) ensure that data is sent correct to desire mail friend (2) if user enter invaild mail display message to help me if there is worng(3)when i test script no message is sent to me<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><script language="JavaScript" type="text/JavaScript"><!--function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);//--></script><style type="text/css"><!--.style1 { font-size: 15px; font-weight: bold;}.style3 { color: #000066; font-size: 12px;}--></style></head><body><?php$name=stripslashes($name);$to= stripslashes($to);$from= stripslashes($from);$subject = stripslashes($subject);$message= stripslashes($message);$mail=mail($to,$subject,$message,"From: $name <$email>");?><div id="Layer1" style="position:absolute; left:120px; top:45px; width:391px; height:310px; z-index:1; background-color: #990000; layer-background-color: #990000; border: 1px none #000000;"> <div align="center" class="style1"> <p>my test form </p> <form name="form1" method="post" action=""> <p> <pre> <tt> to </tt><input type="text" name="to"></pre> </p> <p><pre> from <input type="text" name="from"> </pre></p> <p><pre>subject<input type="text" name="subject"> </pre></p> <p> <center><b>your message <b></center> <br> <textarea name="message" cols="30" rows="5"></textarea> </em> </p> <input type=submit value=submit> <p> </p> </form> <p> </p> </div></div></body></html>[/code] Quote Link to comment Share on other sites More sharing options...
ahmed17 Posted September 12, 2006 Share Posted September 12, 2006 may be your notes is very good to update this script ....if any one help you Quote Link to comment Share on other sites More sharing options...
ahmed17 Posted September 13, 2006 Share Posted September 13, 2006 i test the script also but no result and i need script like this necessary ......if any one can help us ..plz quick Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.