PHP Contact Us Form
This is our first php tutorial and we make a simple contact us form, the form has three stages of validation, the first stage checks to see if they entered a name, the second checks to see if they entered an email address, the third checks to see if they entered some comments if not it denies them and tells them appropriately, if they have it sends an email to you and tells them their form has been sent. I used Easy PHP 5 to test it you can use any of WAMP (Windows) MAMP (Macintosh) LAMP (Linux) XAMPP (Linux and Windows) If you like. The link to the code is here — php.pastebin.com Please go to apple.freebiejeebies.co.uk and sign up and complete a free offer it really helps us make more videos or view our competition video. Please visit webmasterways.com for great Webmaster Tips and Tricks!




When i upload it to a site it just says error and the comments doesnt show
August 9th, 2010 at 11:13 am
@whatwasthatslapfor this is only a basic tutorial if you already know oop then why are you watching simple tuts like this?
August 9th, 2010 at 11:13 am
It is too basic. It is just a PoC. In real life projects a contact form looks much more different. Try to use OOP and MVC.
August 9th, 2010 at 11:13 am
Hi. What editor were you using for this video? Thanks
August 9th, 2010 at 11:13 am
doesnt send me the email.
August 9th, 2010 at 11:13 am
You are also welcome!
August 9th, 2010 at 11:13 am
Your very weclome.
August 9th, 2010 at 11:13 am
The link is provided in the description.
August 9th, 2010 at 11:13 am
No the “YOUR EMAIL HERE” is where you want all emails to go.
This script does not mail other people it mails you when people submit the form with their comments.
August 9th, 2010 at 11:13 am
doesnt work!
August 9th, 2010 at 11:13 am
ummm where it says YOUR EMAIL HERE, is that where you put the recipient email adress?
August 9th, 2010 at 11:13 am
where can i get this code plzz?
August 9th, 2010 at 11:13 am
Well explained and a great tutorial, thanks a lot!
August 9th, 2010 at 11:13 am
Thank you very much!
August 9th, 2010 at 11:13 am