Jump to content

mikebyrne

Members
  • Content count

    780
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mikebyrne

  • Rank
    Prolific Member

Profile Information

  • Gender
    Not Telling
  1. mikebyrne

    Form not sending email??

    Something like this: <form id="contact_form" method='post' action='contactsubmit.php'>
  2. mikebyrne

    Form not sending email??

    No, its on a separate page called contactsubmit.php
  3. mikebyrne

    Form not sending email??

    <form id="contact_form" method='post'> <div class="f-field"><input name="fname" type="text" placeholder="Name" required></div> <div class="f-field"><input name="email" type="text" placeholder="Email" required></div> <div class="f-field"><input name="phone" type="text" placeholder="Phone" required></div> <div class="f-field"><textarea name="msg" placeholder="Message"></textarea></div> <div class="sent-btn"><input name="submit" type="submit" value="Submit"></div> </form> Still the same result. No error msg etc
  4. mikebyrne

    Form not sending email??

    <!-- our services --> <section id="contact" class="bg-light-teal"> <div class="content-boxed"> <div class="split-color wow fadeInLeft"> <div class="section-number">#05</div> <h2 class="section-heading rotate">Contact</h2> </div> <div class="container-fluid"> <div class="row"> <div class="col-lg-6"> <div class="pr-5 mb-5 wow fadeInUp"> <div class="gmap behind-border-box"><iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d2401.5623741248505!2d-6.9729973!3d52.9922718!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x485d6f8aac9336c9%3A0x35a64aae423e6da9!2sIrish+Web+Services!5e0!3m2!1sen!2sin!4v1531902216161" width="100%" height="450" frameborder="0" style="border:0" allowfullscreen></iframe> </div> </div> </div> <div class="col-lg-6"> <div class="wow fadeInRight"> <h3>let’s get in touch</h3> <div class="contact-form"> <form id="contact_form"> <div class="f-field"><input name="fname" type="text" placeholder="Name" required></div> <div class="f-field"><input name="email" type="text" placeholder="Email" required></div> <div class="f-field"><input name="phone" type="text" placeholder="Phone" required></div> <div class="f-field"><textarea name="msg" placeholder="Message"></textarea></div> <div class="sent-btn"><input name="submit" type="submit" value="Submit"></div> </form> </div> </div> </div> </div> </div> <h2 class="section-heading2">Contact</h2> </div> </section> <!-- our contact -->
  5. mikebyrne

    Form not sending email??

    No, the page stays on the form with all the text etc still in the fields
  6. mikebyrne

    Form not sending email??

    When I press the Submit button, no error msg appears ie like: "some errors to the send mail"
  7. mikebyrne

    Form not sending email??

    I'm using a template which contains a form so users can email me, but it doesn't seem to be working. Any ideas why?? I've changed "me@myemailaddress.com" to my own! <?php //Prefedined Variables $to = "me@myemailaddress.com"; // Email Subject $subject = "Contact from Your Site"; // This IF condition is for improving security and Prevent Direct Access to the Mail Script. if ($_POST) { // Collect POST data from form $name = stripslashes($_POST['fname']); $email = stripslashes($_POST['email']); $phone = stripslashes($_POST['phone']); $message = stripslashes($_POST['msg']); //$realcap = stripslashes($_POST['captcha']); $ipAddress = $_SERVER['REMOTE_ADDR']; if (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER)) { $ipAddress = array_pop(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR'])); } // Collecting all content in HTML Table $content = '<table width="100%"> <tr><td align "center"><b>Contact Details</b></td></tr> <tr><td>Name:</td><td> ' . $name . '</td></tr> <tr><td>Email:</td><td> ' . $email . ' </td></tr> <tr><td>Phone:</td><td> ' . $phone . ' </td></tr> <tr><td>Message:</td> <td> ' . $message . '</td></tr> <tr><td>Date:</td> <td> ' . date('d-m-Y') . '</td></tr> <tr><td>IP:</td> <td> ' . $ipAddress . '</td></tr> </table> '; // Define email variables $headers = "From:" . $email . "\r\n"; $headers .= "Reply-to:" . $email . "\r\n"; $headers .= 'Content-type: text/html; charset=UTF-8'; if (!empty($name) && !empty($email) && !empty($content)) { // Sending Email if (mail($to, $subject, $content, $headers)) { print "Thank you, I will getback to you shortly<br>"; return true; } else { print "Some errors to send the mail."; return false; } } else { print "Some validation errors to send the mail."; return false; } }
  8. mikebyrne

    Website Banner Scaling issue

    Any particular size image??
  9. Hi Guys, Looking for a bit of constructive feedback on my site: https://goo.gl/aQyCHE Any help would be great!
  10. mikebyrne

    Website Banner Scaling issue

    Bit of a strange one! We are working on a website http://www.guttercarespecialists.ie and are having issue with the banner image scaling with mobile phones. In "Responsive Designer Mode" it all scales fine without issue, however on an actual device the scaling looks terrible! Any help would be great!
  11. mikebyrne

    Website Banner Scaling issue

    Bit of a strange one! We are working on a website http://www.guttercarespecialists.ie and are having issue with the banner image scaling with mobile phones. In "Responsive Designer Mode" it all scales fine without issue, however on an actual device the scaling looks terrible! Any help would be great!
  12. I'm just running a SEO check on my site and it seems to be throwing up the following JS error: TypeError: Cannot read property 'add' of null at Object.e.initADA (https://www.byrnecomputingservices.ie/js/plugins/slick.min.js:1:19334) at Object.e.init (https://www.byrnecomputingservices.ie/js/plugins/slick.min.js:1:19101) at new (https://www.byrnecomputingservices.ie/js/plugins/slick.min.js:1:2832) at n.fn.init.i.fn.slick (https://www.byrnecomputingservices.ie/js/plugins/slick.min.js:1:42781) at slickMobileServices (https://www.byrnecomputingservices.ie/js/custom.js:1024:12) at startCarousel (https://www.byrnecomputingservices.ie/js/custom.js:1043:4) at https://www.byrnecomputingservices.ie/js/custom.js:830:5 at dispatch (https://www.byrnecomputingservices.ie/js/jquery.js:3:6466) at r.handle (https://www.byrnecomputingservices.ie/js/jquery.js:3:3241) Any idea how I can correct this? Any help would be great!
  13. Im looking to add a multiple choice exam section to my website, I need the following: 1. Registration form Firstname Surname Date of Birth Dropdown menu with list of exams (2 different exams to select) Submit button - Puts details into database, emails newly created login details to user 2. Exam User clicks link sent by email to open test page The exam will contain 15 questions with mutiple choice answers Submit button - Displays result of test and emails result to me and user Could you please contact me with a quote for the above work
×

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.