title: Contact Form missing (send.php file)
body: <p>Hi i would just like to ask some help regarding my contact form because I do not know how to create a php script to run on submit my form (send.php). Here my code for the Contact Form:</p>
  
  <pre><code>                &lt;div class="contact_form_holder"&gt;
                      &lt;form id="contact" class="row" name="form1" method="post" action="#"&gt;
  
                          &lt;div class="span4"&gt;
                              &lt;label&gt;Nom&lt;/label&gt;
                              &lt;input type="text" class="full" name="name" id="name" /&gt;
                          &lt;/div&gt;
  
                          &lt;div class="span4"&gt;
                              &lt;label&gt;Email &lt;span class="req"&gt;*&lt;/span&gt;&lt;/label&gt;
                              &lt;input type="text" class="full" name="email" id="email" /&gt;
                              &lt;div id="error_email" class="error"&gt;Please check your email&lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="span8"&gt;
                              &lt;label&gt;Message &lt;span class="req"&gt;*&lt;/span&gt;&lt;/label&gt;
                              &lt;textarea cols="10" rows="10" name="message" id="message" class="full"&gt;&lt;/textarea&gt;
                              &lt;div id="error_message" class="error"&gt;Please check your message&lt;/div&gt;
                              &lt;div id="mail_success" class="success"&gt;Thank you. Your message has been sent.&lt;/div&gt;
                              &lt;div id="mail_failed" class="error"&gt;Error, email not sent&lt;/div&gt;
  
                              &lt;p id="btnsubmit"&gt;
                                  &lt;input type="submit" id="send" value="Send" class="btn btn-large" /&gt;&lt;/p&gt;
                          &lt;/div&gt;
  
  
                      &lt;/form&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>Here my Javascript:</p>
  
  <pre><code>$(document).ready(function(){
    $("#send").click(function(){
      var name   = $("#name").val();
      var email  = $("#email").val();
      var message  = $("#message").val();
  
      var error = false;
  
       if(email.length == 0 || email.indexOf("@") == "-1" || email.indexOf(".") == "-1"){
         var error = true;
         $("#error_email").fadeIn(500);
       }else{
         $("#error_email").fadeOut(500);
       }
       if(message.length == 0){
          var error = true;
          $("#error_message").fadeIn(500);
       }else{
          $("#error_message").fadeOut(500);
       }
  
       if(error == false){
         $("#send").attr({"disabled" : "true", "value" : "Loading..." });
  
         $.ajax({
           type: "POST",
           url : "send.php",    
           data: "name=" + name + "&amp;email=" + email + "&amp;subject=" + "You Got Email" + "&amp;message=" + message,
           success: function(data){    
            if(data == 'success'){
              $("#btnsubmit").remove();
              $("#mail_success").fadeIn(500);
            }else{
              $("#mail_failed").html(data).fadeIn(500);
              $("#send").removeAttr("disabled").attr("value", "send");
            }     
           }  
         });  
      }
          return false;                      
    });    
  });
  </code></pre>
  
  <p>I'm guessing i need the url : "send.php", Thank you so much in advance.</p>