Lesson Code: http://www.developphp.com/video/PHP/Sign-Up-Form-and-Email-Activation-PHP-MySQL-JavaScript-Programming-Tutorial
Learn to program a user sign up form and corresponding email activation script. We use HTML, CSS and JavaScript for user interfacing. The server side scripting is PHP connected to a MySQL database. Real time field restricting, user must view terms of use, real time username checking and more. Ajax is in use for all server side data transmissions. User must activate their account through email in order to interact on the site. The email activation process verifies and confirms that they have given you their real email address.
Original source
27 responses to “6. Sign Up Form and Email Activation PHP MySQL JavaScript Programming Tutorial”
You did not explain how to externalize the large list? Can you, thanks. 8:47
Hi Adam…where can i find your ajax and main js files mentioned in your video? Great video btw!
i'm watching this 4 years after not six months
May I know how to clear the username textfield after AJAX response i.e "username is taken"
please i need help as soon as possible
nice one bro….. but am having issues on the username field " mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in C:xampphtdocsDreamWeaverform_htmlsignup.php on line 15"
hello sir my name is Abhay and there is some problem in this code . the problem is activation_string_length_issues so how can i resolved this.
It just echo signup_success after I click the create account button, any suggestions?
there is bug: Notice: Undefined variable: user_ok in C:wamp64wwwWeb_Intersectroottemplate_pageTop.php on line 6
After clicking "signup btn", the signup() function post error messages in span id"status", but refreshes so quick the user has no time to read the error?
how does make that field validation(for eg: adam is ok) like that
brother i was banging my head off the ground trying to figure out why ur code wouldn't write to phpmyadmin believe it was the simplest solution. you forgot to add name id string to the form elements. phew that took all day to figure out (im a beginner) im glad i figured it out though 😀
Nobody else pointed this out but ajax.responseText is not getting echo "signup_success". Instead of going to page "Ok check your email…..", same page is there with "signup_success" message at the bottom of signup page. When I changed ajax.responseText != "signup_success" to ajax.responseText == "signup_success", I started getting that email message page. So, ajax.responseText is not getting echo text.
Do i need to register my website into a host to be able to send an email for activation?
Hello, Sir Adam
just want to ask if i really need to activate/ register my site for the email activation using email address?
hello sir..im in debian in virtualbox..and i havent yet set upa mail server as its very complex..so after i registerd i manually activated the user by changing 0 to 1..but when i login it still stays not succcesful login…why..can you help out with this…is there a way to send link link or just activate without email??/
can i use that system with wordpress , becuase i already built a wordpress theme from scratch to use it and i tried a lot of plugin to make a system for users but all of it Stupid because it let the user login to the main control panel, so i use my theme design to built a new one on your way , but i know that will not be easy to edit , or to make a post system do you have any idea to use wordpress beside your system ??????
I think u r best…………………………………………………………………….:-)
Hi Adam! thanks for great tuts, I want to ask you something, the mail() function is goes to spam. How to fix it? thank you
Looking for template_pageTop.php ,where can i find it?
First I tried customizing my own form, but it echoed echo "The form submission is missing values."; so i copy and paste the form with no changes and it still said echo "The form submission is missing values."; HELP
unless i missed a step or two, where is the ajax file or how is that made? i am a noob at this new coding so please be gentle
Successful connection!!!signup_success message is showed but Activation mail not send how to fix this problem ??
1000000000000 (y)
Don't copy and paste my code from my site. Instead listen to and watch the videos and write the code yourself debugging any issues you create as you go. You guys all have different various issues that you are creating yourselves. I proved that everything works in the videos as I went through each step so good luck. If you need insight on learning to debug software that you are writing, read this article… https://www.webintersect.com/articles/80/learn-to-debug-your-own-software
when i signup no email comes and it auto activates to 1 any ideas
Good day sir! in the sign up form, I have a error, where it is only CHECKING ! and it's taking forever! please help me -_-