title: cannot get the POST variables from email form
body: <p>I cant get the POST variables from this email form. </p>
  
  <p>Any suggestions?</p>
  
  <p>the part of the form in html file:</p>
  
  <pre><code>&lt;form id="form_28" name="register" onsubmit="return validate_form_28(this)" action="sendmail.php" method="post" target="_blank" enctype="text/plain" style="margin:0;position:absolute;left:67px;top:297px;width:576px;height:291px;"&gt;
  &lt;input type="text" id="edit_23" name="email" value="" style="position:absolute; left:290px; top:93px; width:209px;"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>the sendmail.php file</p>
  
  <pre><code>&lt;?php
  $email = $_POST['email'] ;
  
  
  $email_body =  "Here is the message";
  mail( "mymail@mysite.com", "title", $email_body, "From: $email" );
  print "Congratulations your email has been sent";
  
  ?&gt;
  </code></pre>
  
  <p>the validate_form_28 :</p>
  
  <pre><code>function validate_form_28( form )
  {
      if( ltrim(rtrim(form.elements['email'].value,' '),' ')=="" ) { alert("you have to fill it"); form.elements['email'].focus(); return false; }
      if(!ValidateEmail(form.elements['email'].value)) { alert("not valid emailv"); form.elements['email'].focus(); return false; }
      return true;
  }
  </code></pre>