HTML/PHP Contact Form Tutorial with Validation and Email Submit

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 444

  • @russellbrookman5388
    @russellbrookman5388 5 років тому +7

    This was an excellent video. I am a pretty experienced coder who has been struggling with godaddy nonsense and I want you to know that your explanation of PHP mail functionality was excellent. Anyone watching this, like most videos, I suggest having the doc's open so you can go threw each line of code with him and really understand what he's saying.

  • @mandude3238
    @mandude3238 7 років тому +1

    Two days of research to find a way to use my own pre-existing form and integrate it with mail chimp! Everything I was finding involved creating a form through mail chimp and embedding it in my site. I already have my site designed and just needed the functionality of the opt in box to work with my autoresponder list. Finally found your video that gave me the ground work to make it happen! Kudos to you sir, and thank you so much for making this video!

  • @ididitwriter
    @ididitwriter 4 роки тому

    There is a lot of information on how to set-up the form and to even make the form dynamic, but nothing that actually showed the PHP information. Bravo. I actually understood it.

  • @tommy2some
    @tommy2some 4 роки тому

    I live in the UK and had a problem with both the $phone validation and the $url validation you're using. So I switched to (!filter_var($phone, FILTER_SANITIZE_NUMBER_INT)) for the $phone and (!filter_var($url, FILTER_VALIDATE_URL)) for the $url, which both work fine. Very well explained tutorial, thank you.

  • @sorayajoost
    @sorayajoost 4 роки тому +4

    I did not know codepen, you changes my live forever!!! Thank you. Cheers

  • @saturnosinanillos
    @saturnosinanillos 6 років тому

    "value=" is not a valid argument for "textarea" tag....after a little research I found the right way to make it work (stackoverflow):
    Thank you very much ! I am a beginner and I just learned a lot from your video!

  • @loosingahwffanboy9277
    @loosingahwffanboy9277 5 років тому +1

    They way you explain how to edit the ini file and retrieve your smtp from ur ispn SAVED ME!!!!!

  • @rickfearn3663
    @rickfearn3663 4 роки тому +2

    Outstanding tutorial, even after 4 years. Thanks, CT!!!

  • @tonischjelderup8708
    @tonischjelderup8708 6 років тому +2

    This video made me understand a whole lot more PHP and how it's working! I can't thank you enough sir!

  • @aaronr.trevino2712
    @aaronr.trevino2712 6 років тому

    Thank you Clever Techie! I'm new to coding. The files worked after renaming my contact.html page (started with html and css) to contact.php and transferring them to the server. Had to tweak them a bit, but my contact page works great! Did catch the $message_body variable. Also added between tags (instead of inside the opening tag) in order to keep my message (textarea) from getting cleared. Watched the video again to catch the at the end that shows you how to display $success. I'll definitely subscribe to your channel!

  • @cd78
    @cd78 6 років тому +1

    Hello @clever Techie thank you for this, I was run ragged for weeks trying to do email form submits using ruby on rails and it was a fucking nightmare with the MVC architecture. PHP done this in 3 files whilst ruby had about 15. Thank you once again

  • @mezmerizer9422
    @mezmerizer9422 5 років тому +5

    You got me for a moment, I was skipping for 5sec getting to one part and I saw you typed in Vladimir... my name is Vladimir.

  • @NedumEze
    @NedumEze 3 роки тому +1

    Thanks very much, Clever Techie. Picked up a couple of sound ideas from you. I appreciate.

  • @cybertraining
    @cybertraining 4 роки тому

    I just wasted 2 days of my life, copying the form from the same site and doing what you have done, if only I had watched this video.
    Nice how you kept the inputs on the screen when a mistake was made I will use that.
    Better not to use a loop when sending out the mail, if you list them all one after the other you can space the mail out with /n.
    Nice work, any ideas about some anti spamming code, it seems to block most forms of attack but will be wide open to a spammer.

  • @wolfgangpauli8657
    @wolfgangpauli8657 3 роки тому

    Very good tutorial! I built my contact form with your help and it works :) Thanks

  • @sergioc.p.7845
    @sergioc.p.7845 8 років тому +47

    Hi!, you don't send the message_body to your email, just the $message textarea.
    You need to put $message_body in mail function, don't $message var.

    • @clevertechie
      @clevertechie  8 років тому +10

      Yes, you're correct! I noticed this mistake after I already uploaded the video, thank you for mentioning this :)

    • @mikejacoby5150
      @mikejacoby5150 7 років тому +4

      Is this why only the comments get sent? My contact form works, but in the email I received in my test, there was no name, email, ph# or website, just comments, so I have no clue who sent the message.
      thanks

    • @WolfRawrrr
      @WolfRawrrr 7 років тому +2

      Yeah good spot. I actually noticed it in the video right away because he said "message body" out loud, while typing "message" so that made it apparent if you really paid attention ^^

    • @dethArikYT
      @dethArikYT 6 років тому +2

      thank you for the correction.
      can you tell me how can I send an acknowledgment mail to the person who fills the inquiry form ?
      As in :
      Thank your filling up the form, the XYZ team will contact you withing 24 hours.
      this message should be sent after the user clicks on submit button. is it possible ?

    • @louie2114
      @louie2114 6 років тому

      Thank you, helps me solve the problem!

  • @gedeonszabo
    @gedeonszabo 7 років тому

    Working!! Finally a good source!!

  • @syahrian76
    @syahrian76 5 років тому +1

    thank you for the tutorial, it really help me understanding how the validation works

  • @VincentWaters
    @VincentWaters 6 років тому

    Great tutorial, thanks for the help - did a bit of customization and got it all working!

    • @VincentWaters
      @VincentWaters 6 років тому

      I have noticed one issue however while testing... OK so validation & form submit both work correctly. After a successful submit, the variables get cleared and page refreshes. NOW at this point - when I refresh the page again manually (all fields empty!!) and wait a minute or two, I receive another email from the form with the previous variable intact from before they were cleared.... Any thoughts?

  • @arniie5288
    @arniie5288 4 роки тому +1

    Why didnt you get the values input (e-mail, phone...)in the outlook e-mail? Thanks

  • @T3nppy
    @T3nppy 6 років тому +2

    For anyone who only recieves the message without other info.
    $to = 'your@email.com';
    $subject = 'Web email';
    if (mail($to, $subject, $message_body)){
    He only typed message so you have to rewrite it to message body. 22:45

    • @reiben6924
      @reiben6924 6 років тому

      That did the trick for me! Thanks man! --- Clever Techie, please update your "form_process.php" file with "message_body" to avoid others having the same problem.

    • @juliantom5462
      @juliantom5462 6 років тому

      hi in minute 10:02 when i click Submit it says: {"code":"MethodNotAllowedError","message":"POST is not allowed"}. can you please help me

  • @theaparitchit
    @theaparitchit 7 років тому

    Bingo... the way you explained it was absolutely simple and to the point.... Keep on the good work mates.... :)

  • @hazederrlaa2257
    @hazederrlaa2257 6 років тому

    If people open the file and it looks like code you will need to put right at the start of your form.php for it to work! Your welcome

    • @senju31
      @senju31 4 роки тому

      Really?How come?

  • @raqueliatheimpatientgardne8196
    @raqueliatheimpatientgardne8196 2 роки тому

    Will this validation method STOP spam email? In regards to the comment below me and your issues with godaddy, I have had the same issues with hostgator. So kudos to the creator of this video!

  • @WolfRawrrr
    @WolfRawrrr 7 років тому

    Thanks a lot for making this, I have been looking for a good php form tutorial all day. Glad I found this! Stuff works ^^

  • @simsethi3200
    @simsethi3200 5 років тому +1

    Thank you for the tutorial. How would i use this method if I had to choose at least one checkbox in my contact form or an option from a drop down.

  • @jongan8015
    @jongan8015 6 років тому

    Just a thanks to clever techie, am an old HTML and PHP user, any recommendations of what video to watch doing a refresher course of doing html and php again, was stuck doing oracle and java for a long time. Videos like these helps. BTW where do you download the software your using.

  • @ashishshah3899
    @ashishshah3899 6 років тому +1

    I am not getting Apache service in my services, where else should I find it?

  • @lilithsembrace3663
    @lilithsembrace3663 5 років тому

    Thank you very much! You made it easier for me to understand the steps and how they work. :)

  • @slobodanpopovic2375
    @slobodanpopovic2375 7 років тому +1

    Hi there!!! Thank you for this video, it's really great. I have one question. If I have one page site and my contact form is on the end of the page, how to prevent page to go back to the top if there are some error or the message is sent and make it stay on the form section? Thanks!!!

  • @kazushisakuraba3163
    @kazushisakuraba3163 5 років тому +1

    HELP! when i click on submit just to check if my errors will appear nothing happens, and i checked my code for like 1000 times and everything is ok.

  • @chriseguaoba5915
    @chriseguaoba5915 4 роки тому +1

    Thanks a lot for the tutorial it very helpful

  • @ramirosan
    @ramirosan 4 роки тому

    Hey Techie! This video is great! What text editor are you using and how do you open it in the browser from the text editor. I am using VS code but I can only open HTML files through a live server in Google chrome. I would really appreciate your help.

  • @FilmNotebook
    @FilmNotebook 7 років тому +1

    Great video Vladimir! Thank you for sharing this tutorial in such an awesome style! Really enjoyed it.

    • @albertcalvin1007
      @albertcalvin1007 3 роки тому

      i guess Im asking the wrong place but does someone know of a way to log back into an instagram account..?
      I stupidly forgot my password. I would appreciate any assistance you can offer me.

    • @atlascayden5863
      @atlascayden5863 3 роки тому

      @Albert Calvin instablaster ;)

    • @albertcalvin1007
      @albertcalvin1007 3 роки тому

      @Atlas Cayden thanks for your reply. I found the site through google and Im waiting for the hacking stuff now.
      Takes a while so I will get back to you later with my results.

    • @albertcalvin1007
      @albertcalvin1007 3 роки тому

      @Atlas Cayden It did the trick and I actually got access to my account again. Im so happy:D
      Thank you so much, you saved my account !

    • @atlascayden5863
      @atlascayden5863 3 роки тому

      @Albert Calvin No problem :)

  • @automatichybrid
    @automatichybrid 7 років тому

    Hi there! thanks for taking the time to explain in detail. Please is there a way to record the same contact form data into mysql database at the same time? will the php connection script go into; form.css, form.php, or form_process.php? thanks

  • @dethArikYT
    @dethArikYT 6 років тому +1

    Thank You for the the tutorial.
    Please help me with some doubts.
    What should come at "sendmail_from" in php.ini file ?
    what should come at $to variable in form_process.php ?
    Help me

  • @bolyguayo9
    @bolyguayo9 5 років тому +1

    Thanks! You helped me a lot!!
    By the way, what if I let the "action" property empty? Is this a bad practice?

  • @JunaidKhan-kx8ui
    @JunaidKhan-kx8ui 6 років тому

    Just a couple of questions
    1) I am making a forum and value="" only works for but the values in and are not remembered so is there any way around that?
    2) Is there a way to remember "toggle state" so that a section of a page that is opened by clicking a button remains open after page reloads due to error?

  • @luzgonzalez8129
    @luzgonzalez8129 7 років тому

    Hello, I am trying to work on a contact form and this video seems very helpful. I wanted to ask, do I need to download PHP and Apache to do this? I've never worked with PHP before. Thank you!

    • @felipep9526
      @felipep9526 6 років тому

      Hi Luz, did you figure out what Apache PHP you have to download? I am also trying to get this contact form working!

  • @andrewmcwilliam1764
    @andrewmcwilliam1764 4 роки тому +1

    Hi, thanks for this - a huge help!
    I'm new to php. My email is being sent and the rules are working, however the error variables and success variable are not coming back to my form spans. I had to use long form php tags in order not to get an error so they now look like:
    Also, how to prevent page reload on submit?
    Thanks

    • @andrewmcwilliam1764
      @andrewmcwilliam1764 4 роки тому

      For any newbies having the same problem, example worked for me.

  • @manurajsharma9938
    @manurajsharma9938 7 років тому +5

    i am using the Dreamviwer and their is no loacthost for run this an you suggest which local host i will install for testing the code.

    • @clevertechie
      @clevertechie  6 років тому

      Try installing spellcheck first. Do you charge for your services, how much?

    • @sandragraves1177
      @sandragraves1177 6 років тому +5

      Wow. Rude. There's a way to get subscribers dude. Are you serious?

    • @RandyNisal
      @RandyNisal 5 років тому

      seriously ? Thats really rude. No one is perfect and Its not his mother language as well.. Even you have done mistakes during this tutotrial

    • @hottensiamukai7928
      @hottensiamukai7928 5 років тому

      the php.ini file is it in the same folder with the files you are using? If yes are we linking the page as we have done with the css and php files?

  • @DanielWeikert
    @DanielWeikert 7 років тому

    Great Tutorial thank you!. In order to call itself we could use $_SERVER['PHP_SELF'] or the name of the php file directly. Which one is the better/more secure option? What are the differences?
    Thanks

  • @RajaKumarVanukuru
    @RajaKumarVanukuru 6 років тому +1

    hi clever techie thank you for this video i"m getting success message but i"m not getting the email. I'm using local host and i put SMTP = smtp.gmail.com and smtp port to 465. please helpme!

  • @cristianramirez1160
    @cristianramirez1160 7 років тому

    Very well explained. Thks a lot!!

  • @TemmyCodingLifestyle
    @TemmyCodingLifestyle 5 років тому +1

    what if i have more than One form on the same page to validate using action="" How will i be able to differentiate the form

  • @billketchersid8047
    @billketchersid8047 7 років тому

    Can't seem to get the words "Message" to display in the form.php. If I can get this on issue resolved it would be great. Great video!

  • @dannyreg8405
    @dannyreg8405 2 роки тому

    Thank you for the info. However, my error are not being caught. How can I send you the code I'm using (which is mostly yours) so you can check it out?

  • @GrahamIrwin-Paciano
    @GrahamIrwin-Paciano 6 років тому

    Rather than using PHP's mail() function, it is better to use a library such as PHPMailer or SwiftMailer.

  • @ghazikerkeni7031
    @ghazikerkeni7031 6 років тому

    Hello! Can you add a Part 2 video on which you add a confirm screen, and a complete screen with or without sessions?

  • @muhammedshahabaz1963
    @muhammedshahabaz1963 4 роки тому +1

    how to fix this error when submitting
    {"code "methodNotAllowedError", "message":POST is not allowed"}

  • @techtaleswithluwah
    @techtaleswithluwah 6 років тому

    Can you do think same video using Adobe Dreamweaver 2018...im not sure how to implement some of the things you do into my site on dreamweaver. Thanks!

  • @tbdrosa8542
    @tbdrosa8542 4 роки тому

    this was really helpful !! but how do you preview within the server? I am using brackets and for some reason, it will not allow me to preview the php file

  • @rameshgundluru7579
    @rameshgundluru7579 5 років тому +1

    sir i am not getting color after adding

  • @nomadafe
    @nomadafe 7 років тому

    great job man, I would like to change on the settings the phone number you are using and maybe using a more complex tool that would detect from the ip the country list, and validate the phone number, do you know how can i do that? THanks

  • @douglasbhalandlovu4194
    @douglasbhalandlovu4194 7 років тому +8

    Well explained thanks goodwork..... hope you will do one on re-captcha

  • @alzacc2259
    @alzacc2259 4 роки тому +1

    Ok so your telling me that once this has fully been coded once information has been submitted all the information goes to your email address if not then what's that called?

  • @useraat
    @useraat 3 роки тому +1

    Need help...
    How it work? with xamp?
    I try to send and nothing happened ... what else i needs to do ?
    How can i send to my email ?
    what you used? it is not smtp

  • @shitalpednekar2868
    @shitalpednekar2868 2 роки тому

    Nice tutorial. Thank u

  • @jamesbarratt593
    @jamesbarratt593 7 років тому

    You have answered a w3schools question which they never answered after their same pho form code on how to display an error message. Awesome. I then learnt jquery and if filling out boxes wrong validation worked, only if i never filled out boxes and just clicked submit on a blank form, error messages would appear in all the form boxes and you'd stay on the html form page, only I wiuld receive an email to. Blank fields. This is obviously because php was waiting untill submit button selected as jquery was. Any obvious solution ...?

  • @voodoomagicman01
    @voodoomagicman01 6 років тому

    Great tutorial, thanks a lot for sharing it has helped me a bunch!! FYI, you forgot a closing php tag on the form_process code. May confuse someone who is just starting out.

  • @deepalijindal8470
    @deepalijindal8470 7 років тому

    Thank you for this video, it is really helpful. But I also want to validate textarea field (show error message if it is empty). I applied the same logic as applied for other fields but it does not work. I am not getting error message after textarea. Please suggest something.

  • @SurajKumar-lb1ii
    @SurajKumar-lb1ii 7 років тому +1

    I upload the file on my hosting server, but whenever i send mail, it say mail sent successfully but not sending to my mail id plz help

  • @mrsylla9533
    @mrsylla9533 7 років тому

    Hi! Great Tuto. But i still have a problem. I did everything as you did. But when i sens the message the message area is cleared but not the other txt areas i.e name, email...and the confirmation message is not displayed. Coule you help please...

  • @proximarem8034
    @proximarem8034 7 років тому +11

    Maybe I'm seeing it wrong, but in the email send to you, where do you see the sender's name, url & phone number?

    • @jilmarkreeuseler4833
      @jilmarkreeuseler4833 6 років тому +1

      same problem

    • @wethekidsz
      @wethekidsz 6 років тому +2

      It's because he sent only the $message instead of the $message_body

    • @supazilla5929
      @supazilla5929 5 років тому +2

      @@wethekidsz thank you I was stuck on this

  • @FuntasticMovies
    @FuntasticMovies 5 років тому

    Why I got the php value code, shown up in the text bar in the form?
    Like where I got the input type text area, my website shows the code: for example. What am I doing wrong?

  • @tomzell3666
    @tomzell3666 4 роки тому

    Good stuff. Thanks man ✊🏽

  • @igerms1
    @igerms1 7 років тому

    Thanks, do you know how to prevent page reload after submitting with AJAX?

  • @user-tf7te5fs2n
    @user-tf7te5fs2n 4 роки тому

    Thank you for the video.
    I have a question
    I downloaded XAMPP but it does not work because I have windows x86 and all versions of XAMPP in the website are for Windows x64
    Could you please help me?

  • @garyjames6168
    @garyjames6168 6 років тому

    Hello. Can any help with how i would send the completed form to my workbench DB table instead of sending to an email account like the video shows?

  • @idlprutara
    @idlprutara 4 роки тому

    thank you for the tutorial

  • @esalettinyasinuysal4423
    @esalettinyasinuysal4423 8 років тому +4

    Hi, I did what you did. I modified php.ini. But it never send the e-mail. It writes an error like:"Warning: mail(): Failed to connect to mailserver at "smtp.gmail.com" port 587, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\PhpProject1\form\form_process.php on line 64"
    I also watched various videos on UA-cam to solve this problem but nothing worked for me. Also I want to ask some questions regarding your video?
    1. Where did you write your email account pass? Is not it necessary?
    2. In other videos people used sendmail.ini file. But you never mentioned it. Which one is correct?
    Thanks in advance.

    • @brightgardenentrepreneuria910
      @brightgardenentrepreneuria910 6 років тому

      I have the same issue and I am guessing OP is running a mail service in parallel with WAMP that intercepts the mail and makes the connection. The password is set in that parallel mail system, methinks. Other vids refer to variables set with the password, where this .ini does not.

    • @RSTao77432
      @RSTao77432 6 років тому

      He said set it to port 25 not 587, try that......

    • @docemeveritatum8550
      @docemeveritatum8550 6 років тому

      I had to upgrade my hosting account. At the base shared server acccount, I didn't have access to all the controls you really need to send emails.

    • @akanshagupta7018
      @akanshagupta7018 6 років тому

      Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in G:\xampp\htdocs\lessons\formcontact\form_process.php on line 64-----i have this error to i am fed up

    • @curioslywithvictormakau
      @curioslywithvictormakau 6 років тому

      I think google disabled support for such test emails on gmail

  • @sangambk9085
    @sangambk9085 7 років тому +1

    Thank you!
    It really helped me a lot.

    • @clevertechie
      @clevertechie  7 років тому

      You're welcome!

    • @georgeoliver652
      @georgeoliver652 7 років тому

      Its great to see that there are still people as clever and helpful as yourself on the internet...

  • @myratovezov1695
    @myratovezov1695 5 років тому

    IT WORKS 👍

  • @rubelrana304
    @rubelrana304 7 років тому

    nice and clear video. thanks

  • @gentlemanphilosopher5342
    @gentlemanphilosopher5342 5 років тому +3

    Netbeans...would there be any other platform/editor that would suffice for these purposes?
    Thanks!

    • @Big-Timbo
      @Big-Timbo 4 роки тому

      there is XAMPP, which allows you to host a full website locally on your machine to test

  • @danielbocelli
    @danielbocelli 7 років тому

    Thanks for this! Great video.

  • @taylorhopper1316
    @taylorhopper1316 7 років тому

    Hey Clever Techie, I am working on a website for a class right now and really wanted to incorporate something similar to what you've done here, but when i try and submit the form, the page loads constantly and never actually loads anything. It also never shows me the success message or send the email. Would you know any way around this?

  • @ianmcl42
    @ianmcl42 6 років тому

    Hey, thanks for this tutorial. I'd really like to be able to add the option to upload images, pdfs and doc attachments before hitting submit. Is there a way to add this ability to this existing form?

  • @Aziz-Ahmed-UK
    @Aziz-Ahmed-UK 4 роки тому

    Hi, can you please help me add code few more input fields to my existing contact form if I send you my php files? I am struggling at the moment. Thanks

  • @TechBriefOfficial
    @TechBriefOfficial 6 років тому

    Dear first of all Thank You so much for this tutorial, I've created a Pop Up Contact Form with JavaScript, it works and validates perfectly! but problem is when I click on submit button (without any filling details) on contact form it disappears from the page, when again I opened contact form the error messages are appeared like (Name is required etc), What I want is that contact form should appeared till user filled all fields and error message should appear in case user missed any filed (it shouldn't have to disappear until data is being send successfully) what should I do???
    Thank You again :)

  • @stemtube8006
    @stemtube8006 6 років тому

    the video helped a lot but the localhost has the wrong stmp values, how would i find the right values

  • @garryfitzgerald2691
    @garryfitzgerald2691 4 роки тому

    Hi just watched your video, great tutorial by-the-way. Is there a way I can change the $success div element (on line 65 of the form_process.php), so the background changes color after the form has been submitted. Any help would be appreciated, thanks!

  • @MuhammadJunaidge
    @MuhammadJunaidge 6 років тому

    How to Quickly learn php ? what are Differences between these languages AJAX XML DOM ? Please tell briefly !

  • @JGameplayz
    @JGameplayz 3 роки тому

    Hey dude!!!!! You help me a lot....thank you thank you very much.. and that was easy as Pie LOL! 🤣

  • @charlesjohnzerna6028
    @charlesjohnzerna6028 6 років тому

    after all the validation my question is how would you insert it in the database? because sending the message to an email is not what im after for but its about on how could i save it into the database after checking or validating all data.

  • @alexfox1486
    @alexfox1486 6 років тому

    Works except the input placeholders are not showing up in IE11 looks great in chrome but not right in Internet explorer. any suggestions?

  • @fariasultana1325
    @fariasultana1325 6 років тому +1

    Hi Techie! It's a just amazing tutorial to learn contact form with validation. Thank you very much for this.
    But i have some problem with end up. It says,
    Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\contact_form\form_process.php on line 64
    Would you kindly tell me how to fix it? It's very urgent.

    • @gbadegunadewole2918
      @gbadegunadewole2918 4 роки тому

      hi,please have you resolved the problem am getting the same error here.Please if you have done that,can you please help me out? .

  • @babajiservices2998
    @babajiservices2998 6 років тому

    very nice helped me a lot brother
    good kedep going brother

  • @ILTECHS
    @ILTECHS 7 років тому

    Awesome tutorial. Thans bro!!!

  • @adrianversey4955
    @adrianversey4955 7 років тому +1

    Hi Thanks for the great post. How would I include an email address that the sender of the message receives?

    • @awinil
      @awinil 7 років тому

      You just call another mail function with sender's email address and different body message.

  • @grazialotito2470
    @grazialotito2470 6 років тому

    Good morning,
    I would like to know how do you open php.ini this file. Where It is found?
    Then you restart Apache in the services in the windows.
    I wait you an answer.
    Thanks a lot for a video.

  • @vuchke
    @vuchke 7 років тому +5

    first of all, thank you for this tutorial, it really is helping a lot of people and you did a wonderful job on it.
    SECOND OF ALL, why the hell didn't you say or write or mention that put AN U.S. PHONE VALIDATOR, and i must enter XXX-XXX-XXXX phone to validate it??
    i just spent last 3 hours trying to figure out what the hell is going on... xD
    i hope ill spend less time finding the right validator... :D

    • @clevertechie
      @clevertechie  6 років тому

      You can find many validators if you search on altavista

  • @michaelzehnder3040
    @michaelzehnder3040 Рік тому

    Well done

  • @StefanGamer45
    @StefanGamer45 7 років тому

    Thank you very much for the help! I have subscribed and liked this video!

  • @kleysoares
    @kleysoares 6 років тому +1

    It worked... Thank you soooooooooooooooooooo much

    • @ujjwalverma7787
      @ujjwalverma7787 6 років тому

      help me dude
      sir, i get message "message send" but i don't get msg in my gmail inbox ??????

    • @muhannadjudah5302
      @muhannadjudah5302 6 років тому

      where is the code ?? plz

  • @mohammaddaud2312
    @mohammaddaud2312 6 років тому +10

    plz give php codeing ....

  • @franktielemans6624
    @franktielemans6624 5 років тому

    Validation seems to work and an e-mail got send with all the inputs but my mailbox says it's coming from an unknown sender. Why is that?

  • @raqueliatheimpatientgardne8196
    @raqueliatheimpatientgardne8196 2 роки тому

    Well I had to subscribe/patreon to get the code and it doesn't work at stopping anything. Have you tried your own code to see if you can input fake emails and url's and phones and still send it? Would be curious to know if you have tried to spam yourself.

  • @mainak7146
    @mainak7146 6 років тому

    where should we include that php code in the html website. I mean in the body or head ??

  • @harvertm2102
    @harvertm2102 7 років тому

    Thank you for this vid. Why did you name the file containing the actual form "form.php " rather than "form.html"?

    • @RavenaciousTM
      @RavenaciousTM 7 років тому

      Because it includes php.

    • @nobytes2
      @nobytes2 7 років тому

      Harvert Martinez Php is a server side language. Html is not, if your file is not .php it won't process any php.