PHP+HTML Contact form tutorial

preview_player
Показать описание

Hey all, had a few people asking about a PHP based contact form so here is a really simple one you can use. There will be another video up next thursday showing you how to improve this contact form security wise and with further validation!
Рекомендации по теме
Комментарии
Автор

I have to express my sincere thanks to you sir. With this great tutorial, I was able to fix my website's contact form. Many many thanks! Keep up the great work. Latish

latishvohra
Автор

Yeah im amazed! You made coding easy man, dont know how to thank you enough!

MrIDGAFprod
Автор

Information Management with Business - basically a couple of core modules on web based development and system analysis then some generic business stuff like marketing/online marketing, project management etc just finished my 2nd year and am now working as an intern at a company doing web development :)

HarryFinn
Автор

Great stuff and the format is logical. Very helpful comments. I can teach this to the young uns instead of mailto style. Look forward to the more secure version. Your line by line comment is very useful. Thanks

fauziahcoffey
Автор

your tutorial has been very helpful. thank you very much.

jordanirene
Автор

This is exactly what I needed thank you so much!!

FlashVision
Автор

Thanks alot bro. That really helps me.hope you'll help more programmer to enhance their knowledge…

isaiahkrischellercabales
Автор

Works Perfect! You're the best, saved my life. :) Big Like...

dareboypk
Автор

yes of course, all you need an web server with PHP running on it (with mail function enabled - on by default) - You'll then need to configure your localhost setup with a basic smtp setup in order to send emails out externally, or setup a local (internal) email for the localhost account to email out to. Or if you have some basic web hosting available (PHP supported) then just upload it to that.

HarryFinn
Автор

Thank you very much, it was very helpful!

diegocdh
Автор

Awesome tutorial! I appreciate the line by line explanation. I am new to PHP and would like to test my scripts on my local drive. any ideas on what tools I need? It seems you tested yours locally. When I attempt to do the same my contact.php file on my windows OS won't open since the .php extension is not recognizable by any software I currently have... thanks!

obio
Автор

Very nice tutorial for sending mail through web.
Thank you very much.

palashmitra
Автор

Hey all - there will be a new video tutorial shortly which will be a revised version of this form, looking into some jQuery and PHP validation techniques which would help both secure the form and improve the user experience for this contact form.

There will be a note on this video when it goes live along with a link in this video's description!

HarryFinn
Автор

both messages show, when the page loads. what could I have done wrong? I keep going over the code to make sure I didn't miss something, or syntax errors.

shakaama
Автор

Ok, I think I know what you mean, the best way to do this would be by storing the information in a mysql database and using PHP to query the output however why would you be looking to use a contact form for this?

HarryFinn
Автор

Great tutorial Harry, but how do you make it more secure? (to stop web-crawlers and the like...All the best :0)

GrinahStones
Автор

Your link does 'not' take me to the CSS file. Nor can I find it on your site using the search window. I wish you had posted the PHP/HTML file as well, so we could do a copy-n-paste.
Grandpa Bill

GrandpaBill
Автор

Hi there, what exactly do you mean by area on your webpage? Do you mean that when you submit the form it will output what was entered on the page when it reloads/processes?

HarryFinn
Автор

Loved your tutorial, very neat. I have just one problem, when I submit the form after filling up all the fields it still says that I have to fil all the boxes, and the email is not sent. Can you tell me what might be wrong. Code is all correct. Cheers

linardzb
Автор

Even the text in my footer seems to be acting up now, went to the top of the div instead of staying at vertical middle.

makedaevilmage