Jump to content

mr.abuasbe

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

1 Neutral

About mr.abuasbe

  • Rank
    Newbie
  • Birthday 01/09/1992
  1. i tried now this code from the web, and the same problem .. i can't run it ... (i'm trying locally now) <?php $field_name = $_POST['cf_name']; $field_email = $_POST['cf_email']; $field_message = $_POST['cf_message']; $mail_to = 'mr.abu@gmail.com'; $subject = 'Message from a site visitor '.$field_name; $body_message = 'From: '.$field_name."\n"; $body_message .= 'E-mail: '.$field_email."\n"; $body_message .= 'Message: '.$field_message; $headers = 'From: '.$field_email."\r\n"; $headers .= 'Reply-To: '.$field_email."\r\n"; $mail_status = mail($mail_to, $subject, $body_message, $heade
  2. i know there are differents... because i changed it.. know the names are equal to the contact.php but still not working
  3. no its really not there, the same error also when i upload the website .. what should id do ?! i'm making a business site to friend and i promised him to finish it today, but this contact form make me disappointed
  4. if some one can give me ready code i will be happy.. i need to finish this thanks
  5. this my contact.php jQuery(function($) { $("#contact_form").submit(function() { var email = $("#email").val(); // get email field value var name = $("#name").val(); // get name field value var msg = $("#msg").val(); // get message field value $.ajax( { type: "POST", url: "https://mandrillapp.com/api/1.0/messages/send.json", data: { 'key': 'sVRLFidC1A7K56TuUkyUQg', 'message': { 'from_email': email, 'from_name': name,
  6. hi, i'm trying to make contact form, i'm working with html and i have Linux server. now when i press submit button i'm getting HTTP Error 405.0 - Method Not Allowed <form role="form" action="assets/contact.php" method="post"> <div class="form-group"> <label class="sr-only" for="contact-email">Email</label> <input type="text" name="email" placeholder="Email..." class="contact-email form-control" id="contact-email"> </div>
  7. thanks for your help .. now response didn't work for me .. i used this way : i created div (rowdg) and wrote in the div from the server side for (int i = 0; i < rowCounter; i++) { rowdg.InnerHtml += "<div class="+'"'+ "col-sm-6 col-md-4" +'"'+ ">"; rowdg.InnerHtml += "<div class=" + '"' + "thumbnail" + '"'+ "style="+'"'+ "height:400px" + '"'+ ">"; rowdg.InnerHtml += "<img src=" + '"' + array[i, 2] + '"' + "height="+'"'+"225"+'"'+"width="+'"'+ "225" +'"' + "/>"; rowdg.InnerHtml += "<div class=" + '"' + "caption" + '"' + "
  8. Thats it, i want to make it from server side, but i didn't really know how should i make it to write to the client side. I need to replace document.write with?
  9. hi, i have this key on the client side (asp.net) function newContent() { var a = <%=rowCounter%>; for (i = 0; i < a; i++) { document.write('<div class="col-sm-6 col-md-4">'); document.write('<div class="thumbnail">'); document.write('<img src="<%= array[0,2]%>" alt="..."/>'); document.write('<div class="caption">'); document.write('<h3 class="d-text"><%= array[0,1]%></h3>'); document.write('<p class="d-text"><%= array[0,3]%&g
×
×
  • Create New...