HTML Pro Series Tutorial - #5 PHP Contact Email Form
Posted by on 9th, 2010
In this, the fifth of a series of six HTML tutorials, I will teach you how to send contact information through an HTML form and submit it through a PHP scripted page. Make sure that you keep the files that you make this week for the website design tutorial next week which will continue on with this. PHP Script Download - www.mediafire.com Example HTML Page - www.edzjohnson.com Follow Me: www.Twitter.com Add Me: www.Facebook.com




the script doesnt seem to be working…
August 9th, 2010 at 2:17 pm
@d1995a3 If you can give me your email add somehow, ill give you the php with an example html to work along side it.
August 9th, 2010 at 2:17 pm
Hi, great tutoril, worked OK for me but the messages always end up in the junk folder with a warning… Can you also help with putting a Contact Number on the form and php? This would help immensely! Thanks man
August 9th, 2010 at 2:17 pm
Hi, great tutoril, worked OK for me but the messages always end up in the junk folder with a warning… Can you also help with putting a Contact Number on the form and php? This would help immensely! Thanks man
August 9th, 2010 at 2:17 pm
Hi, great tutoril, worked OK for me but the messages always end up in the junk folder with a warning… Can you also help with putting a Contact Number on the form and php? This would help immensely! Thanks man
August 9th, 2010 at 2:17 pm
@EdzJohnson thanks alot , you rock
August 9th, 2010 at 2:17 pm
@Drisign - Click on the contact link.
August 9th, 2010 at 2:17 pm
@Shotyoudie
You can run Xampp, a free program which has Apache and Mysql, however for the contact form to work you will need to either have a working local email server or using an online webhost which hosts your files.
If you choose option A: To have you own local server you will need to setup forwarding for the email server as well as putting in your ISP settings (most of the time this is needed).
August 9th, 2010 at 2:17 pm
my email is not receiving the mail when i test it =[
August 9th, 2010 at 2:17 pm
im TheArch2005 but i just made a new account i cant guess why :d
August 9th, 2010 at 2:17 pm
hey ed i got a problem when i prees send message then it opens the folder where my website is inside maby you can help me trough teamwiever
tnx man anyways for the tuts UR THE BEST!!!!!!!!!!!!!1
August 9th, 2010 at 2:17 pm
thx nice tuts
August 9th, 2010 at 2:17 pm
Your Webpge g0t fcked
August 9th, 2010 at 2:17 pm
OK, Maybe you could help???
There is still something going wrong. I have your contact.php and .html files both in the same directory. I edited the php to go to my email, (I checked Spelling) and it still does not send. I know the html file is working with the php file because i get the “Success” page, but when I check my inbox there is nothing, Is there something “Settings Wise” that i have to do in my server account in order for my site to actually be able to Send Email?
August 9th, 2010 at 2:17 pm
@EdzJohnson Ok, I see where your coming from. It just may seem a bit complicated for people who are just been introduced to PHP.
August 9th, 2010 at 2:17 pm
@zzTeChJoEzz - I could have made it more simple yes but I wanted user to be able to experiement and see the power of PHP. Having error codes allows users to play round a lot more. =)
August 9th, 2010 at 2:17 pm
You have made the script really complicated. You could make it more simple. You have included too much error codes. Good effort though.
August 9th, 2010 at 2:17 pm
How did u learn to do all this? Teach Yourself? I need help…
August 9th, 2010 at 2:17 pm