Send Emails with a Web Form: PHP Scripting

July 8th, 2010 | by admin |



Check this video out at Hi-Res here: www.tutvid.com Files are Located here: www.tutvid.com In the following tutorial we will start with a few html files and we will build an Email Handling PHP script that sends info from your web form to your email! It is pretty easy PHP so enjoy learning and Have fun! I am using Dreamweaver CS3, but you can use pretty much any version of Dreamweaver, just follow closely and try not to make mistakes. Please enjoy and don’t forget to check out the site www.tutvid.com

Technorati Tags: , , , , , , , , , , , , , , , , ,

  1. 25 Responses to “Send Emails with a Web Form: PHP Scripting”

  2. By jakeostapes on May 23, 2010 | Reply

    TO the guy below who said about pausing, there is a difference with youtube tutorials and live teaching. through this website we have the power to pause, rewind and hence, watch certain sections over again. The flow of these videos is fine, if you need a repeat then just use the slider surely.

  3. By bigtymr32 on May 26, 2010 | Reply

    Thanks for posting this video. It was very helpful.

  4. By DBLMusic on May 26, 2010 | Reply

    this isnt working for me and i checked all of my links….wut should i do

  5. By anatidaephobie on May 28, 2010 | Reply

    @DBLMusic

    read the “best-rated” comment of “pxelcss” ..
    he says why its not working ^^

  6. By Allexa1000 on May 29, 2010 | Reply

    someone, i need help. i’ve been reading your comments about how you made this tut work, and i have changed everything, but for some reasong i get the “Bare LFs in SMTP” error message after attempting to send an email.
    I would really appreciate it if someone please helped me. Thanks in advance

  7. By mike623030 on May 31, 2010 | Reply

    thank you so very much for this!!!!

  8. By MrMacaroonable on May 31, 2010 | Reply

    @pxelcss Sorry, I didn’t get what you mean, can you please send me a file contains the modified PHP to me, thanks
    hugo.song33@gmail.com

  9. By scientist100 on Jun 3, 2010 | Reply

    just to point this out. The EOD rendering, wont’ read the css on Internet Explorer (as always and usual) however google chrome and firefox do a pretty good job and will read the css file :D

    I’ll try putting the whole location of the css, that might solve the problem even though I’m not sure if this would work.

  10. By emeraude355 on Jun 6, 2010 | Reply

    hi!

    My contact form is working perfectly !

    but now I would like to add a upload field so people on my website can send me documents

    Unfortunately I dont know PHP so I dont know what can be the code and what to do

    can you post the code for it or even better make a video on this subject

    thank in advance

    by the way your video tutorial safe my life for many of my graphic Design classes

  11. By emeraude355 on Jun 6, 2010 | Reply

    hi!

    My contact form is working perfectly !

    but now I would like to add a upload field so people on my website can send me documents

    Unfortunately I dont know PHP so I dont know what can be the code and what to do

    can you post the code for it or even better make a video on this subject

    thank in advance

    by the way your video tutorial safe my life for many of my graphic Design classes

  12. By EclipsePictures on Jun 6, 2010 | Reply

    I’ve got a problem I can’t get around. Iv’e tried everything gone through all the comments and added the suggestions. I keep getting this error message and no e-mail is going through:

    Parse error: syntax error, unexpected ‘,’, expecting ‘}’ in /home/content/s/o/u/soulmates912/html/contactformprocess.php on line 31

    Any ideas? My hosting accepts PHP, I’ve changed all the $emailField, i’m stuck and frustrated… it would have helped posting the PHP script…

  13. By lickachair4fun on Jun 10, 2010 | Reply

    thanks. so much better than that Scottish guy

  14. By Leonko17 on Jun 11, 2010 | Reply

    how you upload 26 minutes video? wow

  15. By kdkdjh on Jun 11, 2010 | Reply

    Oké, here it is: I took away all the ‘Field’ words and then, and only then, it worked! Before that I díd receive an email, but without the stuff that the customer (me) had filled out on te form. After removing al the ‘Field’ words I received the e-mail including the information that was filled out on the contactformpage.html. I used an Dutch provider, so I think it depends on what your provider allows. So DO ore do NOT use the word ‘Field’ at all. TIP: If you get frustrated, take a LONG brake!

  16. By technicalsupp2 on Jun 13, 2010 | Reply

    how come you go to that website you can’t find none of the download files that you are showing on the video?

  17. By wcjdyer10 on Jun 15, 2010 | Reply

    Is anyone else not receiving an email?

  18. By jarhead4585 on Jun 20, 2010 | Reply

    are you gay???, dot com héhhéhé are you gay????

  19. By biancaroser on Jun 22, 2010 | Reply

    Still the code not working…..

  20. By TheCrazyTiger1 on Jun 28, 2010 | Reply

    is an astrix a * i cant make it out :s

  21. By sparsanjay on Jul 1, 2010 | Reply

    Man, you are my life saver !! thanks for the great video. its working very very very perfectly for me as i followed each and every step as described in your video ! thanks and great job !!!

  22. By dougoin on Jul 1, 2010 | Reply

    Hi, this is a brilliant video. I am still in the process of designing the rest of my website so haven’t uploaded anything on to a server yet. Is there anyway to test this works before I upload it to a web host? I previewed it in my browser and when i clicked my submit button it opened up the PHP script. Does that mean that it is set up right and will work once I upload it to a host site?

    Hope someone can help me here, I’m just learning and would appreciate any help at all.

  23. By sparsanjay on Jul 1, 2010 | Reply

    @dougoin hi, that is for sure ! you got to upload it to a test file in your server/localhost then it works. coz i had the same prob like yours. now it works fine. Try it !!

  24. By metalasfuck123456789 on Jul 1, 2010 | Reply

    Another quality video, sweet work mate. Although it wouldn’t have worked fully if ‘PXELCSS’ hadn’t pointed out a mistake. I’ll post his comment again for others so they know but he has the highest rated comment so people obviously agree, but here it is anyway, cheers PXELCSS.

    In body, insted of Email: $email should be Email: $emailField , and this “Field” has to be on every end of those line in $body.

  25. By dougoin on Jul 2, 2010 | Reply

    @sparsanjay Is there a video on here of how to load it to a test file on my server / local host? I’m not exactly clued up when it comes to this, sorry but thanks hugely for your response

  26. By defman777 on Jul 4, 2010 | Reply

    I followed your steps and its not working. Im frustrated.

Post a Comment