Build A PHP Contact Form

Build A PHP Contact Form

Codecourse

10 лет назад

90,468 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@emerino1978
@emerino1978 - 14.01.2021 07:51

Let me tell you something Sr.
"You are a Master, this is the most easy way that i have found error validation for using php.
I really appreciate it!
Keep it up the good work!"

From now and on i follow you.

Ответить
@boatshare
@boatshare - 08.07.2019 14:39

Two minutes in says "pick up these codes....from where exactly??

Ответить
@danielyobo5096
@danielyobo5096 - 30.09.2018 10:16

Hi Thanks alot. What if i need to add more fields like Phone, website, Location, etc. Please can you assist me . God Bless

Ответить
@affiliatenetwork3533
@affiliatenetwork3533 - 19.04.2018 10:34

Three hours wasted, and now the email won't send, why is it so bloody difficult to find a proper solution on the internet? I've literally searched everywhere for a simple contact form that will send a message to my email, and this one isn't it!

Ответить
@aacmeofficially
@aacmeofficially - 21.03.2018 18:43

How to get (PHPMailerAutoload.php) file

Ответить
@adeniran_tayo
@adeniran_tayo - 04.12.2017 00:12

Thanks for the tutorial, what about auto reply function?

Ответить
@ParkourInfo
@ParkourInfo - 20.11.2017 22:51

yea, he should add ""advanced"" to the title of the video ,
however it is by understanding and practicing the complicated that you become professional ,
thanks for the video

Ответить
@cme123tr
@cme123tr - 31.10.2017 17:52

This is the best PHP lesson that I have encountered to date. I have paid in udemy but I did not get such a thorough explanation on building a form. Do you teach PHP & MySQL. You should be teaching at Udemy (not affiliated in any way with them).

Ответить
@herr_pouya
@herr_pouya - 05.09.2017 19:37

Thanks for your effort on making free tutorials.

Ответить
@ayazshah1752
@ayazshah1752 - 17.08.2017 10:25

Thank you so much for providing such a good tutorial. Can we also add ajax for preventing page reload? Is this possible with this contact form ?

Ответить
@PavleSavic00
@PavleSavic00 - 25.07.2017 15:18

How do I make a message popup after somebody submited a form, instead of a whole thank you page?

Ответить
@mateuszsarnowski2289
@mateuszsarnowski2289 - 15.07.2017 23:49

Really great tutorial! Thanks, it helped me a lot.
But I've got one issue with my security function which returns htmlentities. When it is called, nothing happened. I wrote it exactly the same like you. Have you got any idea why?

Ответить
@balikahinge2226
@balikahinge2226 - 29.06.2017 10:06

plz provide source code

Ответить
@jean-philipewahlgren7207
@jean-philipewahlgren7207 - 21.06.2017 21:38

This is a fucking mess, so much of what you wouldnt advice us to do. And you are doing everything so fast. It would be so much more helpful with a pastebin of all your text so that I at least can follow what you say instead of wasting 1h extra writing all of it down and then realizing it doesnt even work.

Ответить
@MicroUrb
@MicroUrb - 04.05.2017 08:28

hey mine does not redirect to thanks.php but instead redirects to contact.php. Why is that?

Ответить
@jsphpndr
@jsphpndr - 02.05.2017 09:07

Would you consider an updated course considering any updates that might have occurred since this video? It seems that a lot of websites utilize a contact.html file without any PHP logic included, everything happening in the background. If you could address this or what others may be doing differently, whether or not they're sacrificing security and such.

Ответить
@amirabadi9178
@amirabadi9178 - 22.04.2017 21:21

way to advance for me .thanks

Ответить
@tobias2688
@tobias2688 - 03.04.2017 20:45

It works totally fine on my virtual XAMPP server, but when I put it on an actual server, it takes like 5 minutes and then it goes to contact.php (instead of thanks.php) and nothing is sent. Why could that be?

Ответить
@grmedia6892
@grmedia6892 - 20.03.2017 16:42

Does this contact form require bootstrap?

Ответить
@akashdk1175
@akashdk1175 - 15.02.2017 22:02

really shit it is not working

Ответить
@jackallen3585
@jackallen3585 - 07.02.2017 20:30

I am running this on a local server using XAMPP however whenever I hit send I get the error 'Fatal Error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\cons\contact\phpmailer\class.smtp.php on line 1214'. I think it may be a server problem as I have checked my code and see no problems. Any ideas?

Ответить
@augustobatista9724
@augustobatista9724 - 03.02.2017 19:46

you could simply use a required statement inside the html tag

Ответить
@philthethrill5640
@philthethrill5640 - 04.12.2016 08:42

This was a great tutorial, helped me understand a LOT of stuff better.

Ответить
@smartdatasystem8277
@smartdatasystem8277 - 22.11.2016 18:54

Thanks man , it worked for me.
I ve a question here, supposing i ve more than three field to send.
how do i send the field. your tutorial covered 3 fields like below senario
eg $m->Body = 'From: x (y) <p>z</p>

Thnks

Ответить
@alejandroolaria
@alejandroolaria - 13.11.2016 21:40

sorry but I'm having some problems, i googled it a bit and I read something about configuring the php.ini file do I have to do it using phpmailer?

Ответить
@janicejackson605
@janicejackson605 - 01.11.2016 19:38

Hi!
I was just wondering (I am still a noob with creating websites..), is this way of creating forms safe? Can a hacker implement script into the form and infects my website, or not? :)

Ответить
@SecularWisdom
@SecularWisdom - 01.11.2016 18:11

Great tutorial, Was wondering how you could apply the PHP to retain the information in drop down menu elements.

Ответить
@paraorober
@paraorober - 26.10.2016 20:53

I was only able to send emails using Gmail with SMTP= 'TLS' and port 587, and I also had to authorize the acces on my gmail account (less secure devices)

Ответить
@iulianmircea1078
@iulianmircea1078 - 26.10.2016 03:45

You saved my life , really man , thank you a lot . You are the best !

Ответить
@a_barbs
@a_barbs - 22.09.2016 23:11

Can i use this with kompozer? Thats the software I'm using to build my website

Ответить
@jakerutherford5716
@jakerutherford5716 - 17.09.2016 23:34

I get this error when I push send.
"Not Found
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
Why is it trying to request index.php? I'd like it to request a different page called nominate.php. How do I do this?

Ответить
@albertmuhatia
@albertmuhatia - 17.09.2016 10:28

Many Thanks Alex iam one of your Greatest Fan

Ответить
@Kamil_Aqil
@Kamil_Aqil - 30.08.2016 22:20

this video is so freaking clear and awesome. Thank you very much

Ответить
@Kamil_Aqil
@Kamil_Aqil - 30.08.2016 03:43

having an issue with the header redirect -_-

Ответить
@MarinaKnok
@MarinaKnok - 10.08.2016 07:44

Fatal error: Can't use function return value in write context in /home/a1836673/public_html/index.php on line 8 I've gotten this error (sorry, I'm not coder, I'm learning).

Ответить
@Surkee
@Surkee - 05.08.2016 14:18

Whatever I would do, everitime I press submit, instead of doing what I wrote in the code (It's identical to yours) it always just prints out the entire PHP codeblock, for no apparent reason.

Ответить
@sahidrajapatel1993
@sahidrajapatel1993 - 08.06.2016 20:59

Every time I press send the message keep popping up saying
Sorry could not send email. Try again later. So could you please tell me how
can I fix this

Ответить
@nitinsampathi
@nitinsampathi - 05.06.2016 21:45

How to build a php contact form for people who already know how to build a php contact form.

Ответить
@Xaidinatorx2000X
@Xaidinatorx2000X - 04.06.2016 18:54

evey thing works except for php when its on my computer but once i upload it to my server my page goes void and saysParse error: syntax error, unexpected '[' in /home/u998343721/public_html/support.php on line 7 how do i fix cause its telling me that $errors = isset($_SESSION['errors']) ? $_SESSION['errors'] : []; is bad code

Ответить
@pandiyanv7175
@pandiyanv7175 - 23.05.2016 07:46

Really excelant tutorial, i need this source file, kindly can you send me.

Ответить
@ReallyBadAI
@ReallyBadAI - 23.05.2016 05:05

Fuck yeah.

Ответить
@alexljamin7854
@alexljamin7854 - 04.05.2016 12:07

+Codecourse what do you use for your localhost development? Is it XAMPP or something similar to this? Can you also specify what settings you have in this software?

Ответить
@andy_grab
@andy_grab - 26.04.2016 17:02

Can anyone help me? Everything works fine in the local server , but when im on my online server it doesnt work, and i get the 302 Found .

Ответить
@chadbarcelo8469
@chadbarcelo8469 - 25.04.2016 16:13

Does this work when i upload it on a live site?

Ответить
@williamaughenbaugh6886
@williamaughenbaugh6886 - 25.04.2016 07:46

does anyone have this already completed?

Ответить
@paceinternetcafe2287
@paceinternetcafe2287 - 21.04.2016 16:12

Is it possible to style the email sent by php code to email

Ответить
@Arttyor
@Arttyor - 22.03.2016 20:16

All I was looking for was simple few lines contact form, all I got now is headache

Ответить