Jump to content


This topic is now archived and is closed to further replies.


mail form% need help

Recommended Posts

[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"
<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();
<style type="text/css">
.style1 {
font-size: 15px;
font-weight: bold;
.style3 {
color: #000066;
font-size: 12px;

$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>
<pre>  from <input type="text" name="from"> </pre>
subject<input type="text" name="subject"> </pre>
        <center><b>your message <b></center>
        <textarea name="message" cols="30" rows="5"></textarea>
      </em>      </p>
      <input type=submit value=submit>

Share this post

Link to post
Share on other sites
i test the script also but no result and i need script like this necessary ......if any one can help  us ..plz quick

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.