How To Make Contact Form With Captcha | Create Working Contact Form Wtih reCaptcha

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 199

  • @hussai_5115
    @hussai_5115 5 лет назад +9

    Thnx sir your great teacher in youtube again thnx sir

  • @photoinshot1355
    @photoinshot1355 4 года назад +2

    Best tutorial on Captcha, looked at a few, this is by far the best and easy to understand, thanks

  • @maartendewolf8241
    @maartendewolf8241 5 лет назад +10

    works like a charm, but next time create a .php action ;-)

    • @Speroid
      @Speroid 3 года назад

      Maarten de Wolf
      shouts wolf, the coward makes what could be a useful comment runs away and hides behind a false profile.

  • @jayeshpobari6565
    @jayeshpobari6565 5 лет назад +3

    Love uh bro....ab se ap mere guru ....🙏🙏

  • @dawnstar24
    @dawnstar24 2 года назад

    Thank you. I was just looking for file zilla with this

  • @nothing-xr8sf
    @nothing-xr8sf 4 года назад +1

    I love all your tutorials.

  • @skzubair
    @skzubair 4 года назад +2

    Thank you for your tutorial and very easy explanation my form worked on first time itself without any error or bugs

    • @Speroid
      @Speroid 3 года назад

      Clever boy, how well had your site worked with a misplaced period. .

    • @MrSTEFFKE
      @MrSTEFFKE Год назад

      Hello, i have a problem with recaptcha, it doesn't work, can you explain me what did you do? I just followed and it doesn't work

    • @skzubair
      @skzubair Год назад

      @@MrSTEFFKE I am using recaptcha v2 tickbox for my projects, which version are you using?

    • @MrSTEFFKE
      @MrSTEFFKE Год назад

      @@skzubair Checkbox ✅but it’s not working, there’s always invalid recaptcha message. Can you send me your source code please?

    • @skzubair
      @skzubair Год назад

      @@MrSTEFFKE have you added your url/domain in the recaptcha console?

  • @antonyyg
    @antonyyg Год назад

    Very useful video! Thank you!

  • @CREATIVOFFICIAL1
    @CREATIVOFFICIAL1 3 года назад +1

    it is best tutorial please put in description file links :)

  • @thinkjon
    @thinkjon 4 года назад +2

    First let me say thanks for the tutorial, glad you’re sharing this knowledge. Very helpful!
    The one downside to this web form is, IF/WHEN the visitor forgets to check the captcha checkbox, the web form's content is wiped clean, so now the visitor has to rewrite the message. This could be very frustrating even possibly abandoning the form all together.
    Questions:
    01. Is there a way the web form input boxes could keep its content when the captcha receives false signal?
    02. Is there a way NOT to use your email sending php code (we would like to use our own), but ONLY check if the captcha is valid when the submit button is clicked?
    Thanks for your time and help.

    • @rashedobeidat5150
      @rashedobeidat5150 4 года назад

      i think this might answer your question: stackoverflow.com/questions/31806426/php-form-validation-keep-field-values-after-refresh/31806488

  • @arezkimezrag4742
    @arezkimezrag4742 4 года назад +1

    Thanks it worked for me great tutorial ;)

    • @alimammiya3343
      @alimammiya3343 4 года назад

      Bro can you send me source code?

    • @Speroid
      @Speroid 3 года назад

      @@alimammiya3343 Me too.

  • @sagnikmukherjee322
    @sagnikmukherjee322 5 лет назад +4

    Sir please make a video about making a website where anyone can post..

  • @ramansharma1282
    @ramansharma1282 5 лет назад +2

    I like it so much thanks

  • @herosteel1877
    @herosteel1877 2 года назад

    Hii Sir, It's such a great tutorial and thanks you are sharing this knowledge.

  • @MohamadJomaa-MJ
    @MohamadJomaa-MJ 5 лет назад +1

    Thans for the Great Captcha... Can you Make another tutorial for V3 Captcha ?

    • @Speroid
      @Speroid 3 года назад

      Had a full working model been made for V2 Captcha would progress.

  • @ryansymons8915
    @ryansymons8915 5 лет назад

    Very good sir, very good

  • @chandraprakashsankhla8792
    @chandraprakashsankhla8792 5 лет назад +4

    Sir plzzz create a school lms base website.
    Nice video

  • @MuhammadAli_21
    @MuhammadAli_21 5 лет назад +4

    brother please make a video on local host and online server pleaseeee

  • @dnanokar27
    @dnanokar27 3 года назад

    Excellent.

  • @e-jay6390
    @e-jay6390 2 года назад

    EXCELLENT tutorial!
    Are the files available for download?
    Thanks.

  • @aman_rana0
    @aman_rana0 4 года назад

    Thanks sir for helping me

  • @chrisvanrooyen8982
    @chrisvanrooyen8982 3 года назад

    Great tutorial and easy to follow, thank you so much!

  • @BobCat981
    @BobCat981 4 года назад +1

    Nice tutorial... Tho, shortcut to important stuff: 10:50
    I know this might hurt your relationship with RUclips algorithm (not much watchtime) but its very helpful to us, your viewers. If say someone is not here to learn how to write html and css for the form but came here coz of your title... Its up to you to decide, with whom do you stand? With us or with mr. Algorithm? Add time stamps to important parts of all your videos. Who wants to learn it all, can. Who doesnt, doesnt...
    I still very much appreciate the efforts gone into making this video!

    • @joel230182
      @joel230182 4 года назад

      the important stuff? wtf are you talking about?

  • @gvdwatt
    @gvdwatt 5 лет назад +1

    Thanks!

    • @GreatStackDev
      @GreatStackDev  5 лет назад +2

      Thanks you so much Gerhard vd Watt for your comment

  • @technicalknowledge4949
    @technicalknowledge4949 4 года назад

    Thanks this worked for me!! thanks a lot

  • @DevonGilchrist
    @DevonGilchrist 4 года назад

    Fantastic tut. Worked no problem. Thank you!!

  • @deionshepherd1331
    @deionshepherd1331 5 лет назад +2

    Very informational video. Thank you. I was able to upload it to google cloud but for some reason i keep getting an invalid captcha whenever I hit submit. would i be able to get your source code or email you my could so you can see where I went wrong?

  • @destiny2jannat
    @destiny2jannat 5 лет назад +1

    thank you. it was easy to learn.

  • @francoisbrandao
    @francoisbrandao 4 года назад

    great tutorial! good job. Thanks!!!

    • @Speroid
      @Speroid 3 года назад

      Have you actually tried to see if it works?

  • @AbhaySingh-pb5rh
    @AbhaySingh-pb5rh 4 года назад

    Nice,form thanks sir but can u
    Plz make a more detail vedio on php

    • @Speroid
      @Speroid 3 года назад

      Not again the same unless it works.

  • @rashedobeidat5150
    @rashedobeidat5150 4 года назад

    helpful and clear, thank you

  • @atunusarker9124
    @atunusarker9124 4 года назад

    Thank You Very Much :)

  • @matthub8081
    @matthub8081 4 года назад

    Thanks man

  • @lahirusupunchandra
    @lahirusupunchandra 3 года назад

    Thanks for the video and I did this. All are working but one thing, It's showing always as an after submit "Invalid Caption, Please try Again". I checked the console and not showing any error on the page. Can you tell me please fix this one. Anyway thanks for your support.

  • @MuhammadUsman-mk4xm
    @MuhammadUsman-mk4xm 5 лет назад +1

    luv from pakistan 😍

    • @GreatStackDev
      @GreatStackDev  5 лет назад +1

      Thanks Muhammad Usman

    • @Vishalsharma000
      @Vishalsharma000 5 лет назад

      @@GreatStackDev kela agar tu pakistan se hai to i hate pakistani

  • @mnbarlas
    @mnbarlas 5 лет назад

    Can we use this code for Blogger Contact Form? Thanks for lovely tutorials

  • @noorb374
    @noorb374 2 года назад

    sir how can we do it using JavaScript .. plz make one video on it

  • @John-du4wf
    @John-du4wf 4 года назад +1

    So good but where is the source files?

  • @imthebeast6163
    @imthebeast6163 4 года назад +5

    Hello can you give us the source code plz?🙂

    • @imthebeast6163
      @imthebeast6163 3 года назад

      Ashton Gregory A trick : I don’t care!

  • @kalanzans
    @kalanzans 5 лет назад +3

    Thank you! Nice work! :^)

  • @MohamadJomaa-MJ
    @MohamadJomaa-MJ 5 лет назад +1

    any chance tp post the links of the codes that you did used (that will make it more easy for users when testing, and less errors) ?

    • @GreatStackDev
      @GreatStackDev  5 лет назад +1

      Sure i can send you through easy tutorials FB page.. Or you can also download all my videos source code from my community post that is only available for my channel members. Membership link: ruclips.net/channel/UCkjoHfkLEy7ZT4bA2myJ8xAjoin

  • @chrispowell2223
    @chrispowell2223 4 года назад +1

    Great tutorial but for some reason my recaptcha is outside the form container. I've probably missed something basic but, any idea what?

    • @NicuLucas1993
      @NicuLucas1993 3 года назад

      Hi check the contact form with recaptcha example weblucas.info/icomply-cookie-notice-for-wordpress/

  • @Zeljko767
    @Zeljko767 5 лет назад

    This is great. How do you post the code on which E-mail you get your messages? Here I think on the HTML page where the form is posted on which E-mail the message goes, on the other HTML page from the other form. Thanks in advance.

  • @outofreach3720
    @outofreach3720 3 года назад

    thanks

  • @bytecodeskool
    @bytecodeskool 5 лет назад

    Sir in captacha portions what we have to give please tell

  • @rzshfghti
    @rzshfghti 2 года назад

    رفیقم گفت کارت خیلی درسته

  • @vontassenfarm4813
    @vontassenfarm4813 3 года назад +1

    Great tutorial. I'm so upset it did not work for me. After uploading all I got was a 403 error msg. :-(

    • @Speroid
      @Speroid 3 года назад

      I'm so upset it did not work for me. Same here!

  • @jafethgonzalez3875
    @jafethgonzalez3875 3 года назад +1

    I can't figure out why this portion->> Invalid Captcha, Please try again"; shows up on my site.

    • @nb894
      @nb894 3 года назад

      me too. any solutions?

  • @navin_kg
    @navin_kg 5 лет назад +2

    Now let's say this works fine locally what if I want to host it how will I do it with the same functionality

    • @GreatStackDev
      @GreatStackDev  5 лет назад +2

      Hi Navin Kumar, please check the video till end, i have uploaded it on online hosting and this contact form is working fine. Thanks

  • @examatdoorstep3480
    @examatdoorstep3480 3 года назад

    I need this in my blogger, sir can you tell does this works in blogger and can I get its code because I don't know anything about programming and codes!! Can you help me out sir/brother??

  • @musirasa4277
    @musirasa4277 2 года назад

    Great tutorial and easy to follow but now the response gives a error

  • @sangrampadhy2966
    @sangrampadhy2966 5 лет назад +1

    NYC

  • @JamesAutoDude
    @JamesAutoDude 4 года назад +1

    How can we keep the form filled out instead of forcing them to re-enter everything?

    • @beastern1807
      @beastern1807 4 года назад

      James Erikson I’m wondering too

  • @gyanchandm
    @gyanchandm 4 года назад

    I set it , every thing going fine but the mail received , in Name : email, and other fields are blanck... Can you help me??? Although i re check it make 100percent copy of you scripts. Help me to resolve.....

  • @hussai_5115
    @hussai_5115 5 лет назад +1

    Sir what server better then xammp or warm server??

  • @shalinijayakumar4180
    @shalinijayakumar4180 4 года назад +1

    Will this work on heroku?im not getting mail.

  • @nitheeshjoseph4735
    @nitheeshjoseph4735 5 лет назад

    Why it's going to spam folder...? When I submit my form and its working but the mail only goes to the spam folder, not the inbox folder... Please help me how to fix it?

  • @uk8955
    @uk8955 4 года назад +2

    I have added action="post" but form not sending??

  • @ruslankandiba
    @ruslankandiba 5 лет назад

    I copy this code to my website, but form is not work. when i click submit button, my page is reloaded and recaptcha always show me "Invalid recaptcha". Help please, and sorry my english not very well

  • @bear7852
    @bear7852 5 лет назад

    Any way to stop the text from disappearing if they don't put in the capcha? And it refreshes, saves the user typing their info again. Might stop them from contacting you.

  • @dvillalobos1048
    @dvillalobos1048 4 года назад

    gracias buen hombre :,) me has salvado

  • @neojohns2487
    @neojohns2487 Год назад

    How to set the sitekey dynamically

  • @islam_and_hadees
    @islam_and_hadees 5 лет назад

    hello tell me what u did at last
    you have added directory or something
    secondly i m getting errors like Warning: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in F:\wamp\www\ContactForm\index.php on line 49

  • @vickigauvreau4981
    @vickigauvreau4981 5 лет назад +9

    I keep getting an "Invalid Captcha" ...Any ideas why?

  • @dennisrmnk
    @dennisrmnk 3 года назад

    hey when I write localhost/contactform nothing show up, could you please help

  • @raghuramk66
    @raghuramk66 5 лет назад

    Nice.. Can you please tell me how to add file upload option to this script ?

  • @SITV360DIYLifeHacksandCrafts
    @SITV360DIYLifeHacksandCrafts 5 лет назад

    Hello, Love the way you code. I need this very much, could you please send me code so I can copy and past into my project?

  • @clinsmuleya6111
    @clinsmuleya6111 2 года назад

    Is it supposed to say REOMTE. Followed everything here but it does not send the email 😟

    • @missulu
      @missulu Год назад

      You need to put an address in the 'action' position. A page where the information can be processed.

  • @meaindriladas
    @meaindriladas 2 года назад

    Isn't there any way to use this feature in my localhost??

    • @missulu
      @missulu Год назад +1

      Yes, but you won't be able to process it. You'll need a server for that.

  • @sabeeliqbal561
    @sabeeliqbal561 5 лет назад +2

    hello , when i execute i get a 403 forbidden?

    • @GreatStackDev
      @GreatStackDev  5 лет назад +1

      Hi Sabeel Iqbal, you should upload the files on PHP supported web hosting

    • @sabeeliqbal561
      @sabeeliqbal561 5 лет назад

      @@GreatStackDev Parse error: syntax error, unexpected '$headers' (T_VARIABLE) in /home/saledire/saledirect.co.uk/contactform/index.php on line 42 "what does this mean please Bro?"

    • @003somnath
      @003somnath 5 лет назад

      @@sabeeliqbal561 Find the line number 42 on that file.. I'm sure you wrote something wrong or missing.. maybe some brackets missing..

  • @amankumarujjain6188
    @amankumarujjain6188 3 года назад

    Can we add script into it ?

  • @doyman
    @doyman 5 лет назад +2

    The file_get_contents no longer works.

  • @djselcukatalay
    @djselcukatalay 4 года назад

    you have to download brackets

  • @rahulmittal8335
    @rahulmittal8335 3 года назад

    How can I save this form in database?

  • @iamrohit13
    @iamrohit13 4 года назад

    Hii Bhai Please
    Source Code Kaise Download Kare Please Help Me

  • @biswanathbanik
    @biswanathbanik 4 года назад +2

    How to run this to localhost

    • @mengkheang4360
      @mengkheang4360 3 года назад

      Right click or double click on your file "html" And then click on open

  • @villageofwestdundee8898
    @villageofwestdundee8898 3 года назад

    Your tutorial is very good, but I cannot get your code to work on the submit. I see below in comments that you won't give the working code out without a paid subscription. we would all appreciate seeing your working code. please let us!

    • @GreatStackDev
      @GreatStackDev  3 года назад

      On which web hosting you have uploaded it? Please share me your form online link.

  • @nabilsire8316
    @nabilsire8316 5 лет назад +3

    need source code

    • @Speroid
      @Speroid 3 года назад

      Don't we all!

  • @AbdulAhad-gf7vv
    @AbdulAhad-gf7vv 4 года назад +1

    Provide us source code plz

  • @movieanytime82
    @movieanytime82 3 года назад

    can i get the html PHP CSS codes in google drive. can you share the code with us

  • @jackcollazo
    @jackcollazo 4 года назад

    I don't get it. I followed the steps perfectly and I get the following showing under the Captcha:
    success) { mail($to_email,$email_subject,$email_body,$headers); echo "Message Sent Successfully"; } else { echo "Invalid Captcha, Please Try Again"; } } ?>
    Any suggestions? Thank you!

    • @tobiash8000
      @tobiash8000 4 года назад +1

      Do you have php enabled at the web server amd the file ending is .php?

    • @jackcollazo
      @jackcollazo 4 года назад

      @@tobiash8000 File is ending with .php, I think that was the problem before ... now I'm getting error message:
      file_get_contents(www.google.com/recaptcha/api/siteverify?secret=6LcUWWgTEEEEEKKSS5uZR_m-zvp-Wip_ghMuiS2i&response=): failed to open stream: Network is unreachable

  • @Potew
    @Potew 2 года назад

    This is totally different now in 2022

  • @IFTIKHAR-eq2bt
    @IFTIKHAR-eq2bt Год назад

    how can i apply this on html website?

  • @anbu8472
    @anbu8472 2 года назад

    did you provide source code?

    • @Spokinate
      @Spokinate 2 года назад

      This guy deliberately includes mistakes in his tutorial, and wants you signup for the working solution AND THE SCOURCE CODE!THIS TOOK ME AN HOUR TO FIGURE OUT

  • @AnggaWidianthara
    @AnggaWidianthara 3 года назад

    how to use smtp ?

  • @neelm7493
    @neelm7493 4 года назад +1

    can we get the source code

    • @Speroid
      @Speroid 3 года назад

      It doesn't work!

  • @HasnainGamerOfficail
    @HasnainGamerOfficail 3 года назад

    how?
    How you make Codes?

  • @JNET_Reloaded
    @JNET_Reloaded 5 лет назад +1

    not secure tho always filter user inputs!

  • @AnggaWidianthara
    @AnggaWidianthara 3 года назад

    how to reCAPTCHA Enterprise (v3) ?

  • @rajar8265
    @rajar8265 3 года назад

    i don't have own email id, shall i use gmail id, but its does not work

  • @heyiftikhar
    @heyiftikhar Год назад

    Bhai source code to provide kiya kro

  • @lbryant
    @lbryant Год назад

    Is anyone still monitoring this site. Problem getting crap added to my online database. So, I put in the reCAPTCHA, and it shows up in the bottom right-hand corner of the screen. I thought it was working great for 1 minute. So, I entered information into the form and got 3 records added to the database. The one I entered and 2 other junk records. So, I removed all the records from the database and waited. About 1 minute later there were several junk records added to the database. Any Suggestions would be appreciated.

  • @arifrkextras7215
    @arifrkextras7215 4 года назад

    Sir, I try your this tutorial complete same as dito copy but its show error please help me how I can solve this
    {
    "success": false,
    "error-codes": [
    "missing-input-response",
    "missing-input-secret"
    ]
    }
    I'm facing these above issues. Please help me if you don't help me sir means you are not a good tutor but you just make people fool and you just copy from others and sell your video here

  • @Philipwave
    @Philipwave 4 года назад

    can i get the souce code?

  • @قاعدةبياناتالمصنفاتالنثرية

    Hello
    Thank you for your course, can you help me with a problem.
    I work on a local site (localhost) with note pad ++ and I want to create a recaptcha, but I am blocked at the script level:
    Indeed, the attribute: "data-sitekey" does not work and so my key is not validated.
    do I have to add the following script
    :
    var onloadCallback = function() {
    alert("grecaptcha is ready!");
    };
    Thank you for helping me because I do not master java script
    cordially

  • @uk8955
    @uk8955 4 года назад

    This form doesn't send??

  • @__itz.abhi_5677
    @__itz.abhi_5677 4 года назад

    Sir ye forma ka html code de dijiye

  • @robertperez2538
    @robertperez2538 4 года назад +1

    Invalid Captcha

  • @JDRhoads09
    @JDRhoads09 4 года назад

    I have never made it through as single one of your tutorials without being fucked at the end. I get invalid captcha even when I checkmark it. I don't want the index to be a php file because the contact form is going on the main page of a website. And the whole website can't be .php but the tutorial is broken when its not a php file??

  • @kondojuarun2649
    @kondojuarun2649 5 лет назад +1

    Please provide code

    • @GreatStackDev
      @GreatStackDev  5 лет назад +1

      Hi kondoju arun, I can send this code on email or easy tutorials FB page.to make this contact form.

    • @GreatStackDev
      @GreatStackDev  5 лет назад +2

      Done!!

    • @kondojuarun2649
      @kondojuarun2649 5 лет назад

      @@GreatStackDev thanku very much

    • @hridaypurohit4926
      @hridaypurohit4926 4 года назад

      @@GreatStackDev email this code to me aswell

    • @onslouhichi8267
      @onslouhichi8267 4 года назад

      @@GreatStackDev cb u plz send ^me the source cod in louhichions419@gmail.com