Free PHP Contact Formmail Script Tutorial

www.1stoptutorials.com – Lately I have been getting a few questions asking abut formmails and how to send there forms. In one of my tutorials i used godaddy form mail to send our contact form to our email. A lot of people do not use godaddy so i did a search and found this script. Please watch the tutorial below to learn how to use it.

Both comments and pings are currently closed.

23 Responses to “Free PHP Contact Formmail Script Tutorial”

  1. arjun98854 says:

    Hi Ali

    I have been watching many tutorials. But after watching yours I feel it is the best.
    You rock!!

  2. 1stoptutorials says:

    Hey TutorialKing100, where are you actually getting the coding,is it on the contact form page?

    Ali

  3. TutorialKing100 says:

    I think there is somthing wrong with the sendmail.php code because after i make the form i get coding appearing?

  4. 1stoptutorials says:

    hey superpizzaconnection, thanks for your comment. If you could send me your email i will be able to send you it as a winzip maybe that will work. Thanks

  5. superpizzaconnection says:

    hello Ali, after clicking on the link (RAR File) it opens a new window with this kind of scripts in it. my guess is that macs cannot unzip this format.
    giuseppe

    Rar!ϐs
    y¬t 3}ê1gs9sZ<3 sampleform.htmð`h]
    PÍý {ÿàð¨=Q£]oJ(õ&†¾-í£e²W]}éP»?ÃYCT?xraœçِÏç-3'&g&aýϺ9áYêQ¬›ƒý†QlªÕafÒ3#Tžã?^ÓZæ¨I0볍#<¸Óä²scÿÁtt0·ªNÐéà~Ì—§o}k»ë'aŽ _è@ÒUR„¶&D›FÃâ)­øXgý Ä={@

  6. 1stoptutorials says:

    Hey superpizzaconnection, does this not work on your mac. What errors do you get. Let me know and i will have a look into it for you. Thanks

    ALi

  7. superpizzaconnection says:

    hi Ali,

    thanks for the tutorials, they were very useful but now i need a formmail scrips that can be open with a mac. could you help me with this… ?

    thank you

  8. 1stoptutorials says:

    Hey roshim, thanks for the comment. Uhmm tough question, i know one thing and that is no one like gibberish. There is a part in the script that sets the type of text, but to be honest i am not 100% sure on how to add the hebrew part. At the top of the form there is a website that might be able to help you out. Let me know how you get on

    Ali

  9. roshim says:

    hi Ali..

    thank you for the ultimate way for making a form mail !!
    one problem i have, is that my web is the hebrew and all the comments comes to my mail in gibberish..
    for example – “רונ&#1503″
    can i fix it?

  10. Jyla187 says:

    okay for some reason it wont let me post this link so in google just search

    “Set up a local test server in
    Adobe Dreamweaver CS4″ and follow the instructions

  11. Jyla187 says:

    Okay phew its been a long day lol just to let you know i have found a site that helps u through set up of a virtual server….will post the link on another reply for anyone with the same problem i have had…..If when i have done it and become a little more familiar with how it works i might post a video reply with instructions how it is done…..Thanks again Ali

  12. 1stoptutorials says:

    Hey Jyla, thanks for the comment. Good question. you could try and test it on your local server by using localhost. You will need something like winamp to make this happen, but you can down load winamp for free. Not 100% sure as i have never tested it with out it being live of some kind. Let me know how you get on. Thanks
    Ali

  13. Jyla187 says:

    damn thought i posted this already but must have forgot to press post comment…..thanks for the script Ali and shout out to form2email team for their work…..i have a question though and here goes….can i test this on local machine cos i dont want to get a webhost untill the site is complete and ready to upload

    which may be a while yet lol, trying to juggle time for design of 4 sites and full time day job.

    again many thanks for this Jyla

  14. 1stoptutorials says:

    Yeh the form is an actual html page the only thing that is php is the actual script. So you can have an html page and just set up a form direct to go to the php page. hope this makes sense

    Ali

  15. tommyd112 says:

    This is Fantastic. I was looking for something simple like this. I have to say your tutorials are easy to follow.
    Thanks

  16. ovideoreel says:

    This is great, can you attach this to html? or leave it as php and then link to the page?

  17. 1stoptutorials says:

    in the code view not the design view

  18. 1stoptutorials says:

    Look for the line that has this in the php file

    $subject = “FormToEmail Comments”;

    on mine it is on line 193 in design view
    change FormToEmail Comments to what you want it to say. let me know how you get on

  19. rainbowsnow7596 says:

    would the subject always have to be Form Email Comments when someone sends an email to you using that form?? If I put in a field called subject,is there anyway I could have what that person fills in in that field as the subject name in the email I receive??

  20. [...] more here: Free PHP Contact Formmail Script Tutorial | PHP Blog You may like:How to Block other domain name to access my PHP formmail script …PHP Tutorial [...]

  21. [...] link: Free PHP Contact Formmail Script Tutorial | PHP Blog Share and [...]

  22. [...] Free PHP Contact Formmail Script Tutorial | PHP Blog [...]