Want more? Explore the library at https://www.codecourse.com/lessons Official site https://www.codecourse.com Twitter https://twitter.com/teamcodecourse.

source

27 Comments

  1. Would you consider an updated course considering any updates that might have occurred since this video? It seems that a lot of websites utilize a contact.html file without any PHP logic included, everything happening in the background. If you could address this or what others may be doing differently, whether or not they're sacrificing security and such.

  2. It works totally fine on my virtual XAMPP server, but when I put it on an actual server, it takes like 5 minutes and then it goes to contact.php (instead of thanks.php) and nothing is sent. Why could that be?

  3. I am running this on a local server using XAMPP however whenever I hit send I get the error 'Fatal Error: Maximum execution time of 30 seconds exceeded in C:xampphtdocsconscontactphpmailerclass.smtp.php on line 1214'. I think it may be a server problem as I have checked my code and see no problems. Any ideas?

  4. Thanks man , it worked for me.
    I ve a question here, supposing i ve more than three field to send.
    how do i send the field. your tutorial covered 3 fields like below senario
    eg $m->Body = 'From: x (y) <p>z</p>

    Thnks

  5. sorry but I'm having some problems, i googled it a bit and I read something about configuring the php.ini file do I have to do it using phpmailer?

  6. Hi!
    I was just wondering (I am still a noob with creating websites..), is this way of creating forms safe? Can a hacker implement script into the form and infects my website, or not? 🙂

  7. Great tutorial, Was wondering how you could apply the PHP to retain the information in drop down menu elements.

  8. I know he tried but he is all over the place. It does not word for me but I couldn't really get the code due to jumping around to much and he does not seem to be able to make up his mind at times. I need a contact form bad , does ant one have a working copy of this that they could email me ?

  9. I was only able to send emails using Gmail with SMTP= 'TLS' and port 587, and I also had to authorize the acces on my gmail account (less secure devices)

  10. I get this error when I push send.
    "Not Found
    The requested URL /index.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
    Why is it trying to request index.php? I'd like it to request a different page called nominate.php. How do I do this?

  11. Fatal error: Can't use function return value in write context in /home/a1836673/public_html/index.php on line 8 I've gotten this error (sorry, I'm not coder, I'm learning).

  12. Whatever I would do, everitime I press submit, instead of doing what I wrote in the code (It's identical to yours) it always just prints out the entire PHP codeblock, for no apparent reason.

  13. Every time I press send the message keep popping up saying
    Sorry could not send email. Try again later. So could you please tell me how
    can I fix this

Leave A Reply

Please enter your comment!
Please enter your name here