PHP Tutorials: Register & Login: User registration (Part 4)
Part of the ‘Register & Login’ Project from PHP Academy. This tutorials walks you through registering a user to allow them to log in to your site.
Duration : 0:9:55
Part of the ‘Register & Login’ Project from PHP Academy. This tutorials walks you through registering a user to allow them to log in to your site.
Duration : 0:9:55
Thanks. would glad …
Thanks. would glad if you can share some business practice like using include() or require() in this tutorial.
hey ur awesome but …
hey ur awesome but i need help can you send me the register page code please?
thank you
test
test
many thanks
I …
I used this to make a subscribe function so i can use the mailing list system
many thanks
Yeah I think I …
Yeah I think I addressed this issue later on in the video set. Thanks for pointing this out to everyone!
Slight error in the …
Slight error in the video.
You will get an error if you dont change the character limit of the password field in the database to 32 as opposed to 25. This is due to the MD5 encryption.
Whenever your queries arent working, id recommend you place “or die(mysql_error());” straight after your query (on the same line) and it should shed some light on whats going on.
And me…I’m …
And me…I’m learning a lot more in 4 days than what I learnt in the past 4 years!!!
Alex– You are the best of the best! Thank you from the buttom of my heart!
Really great …
Really great tutorial so far (not done) I haven’t once felt bored! I subscribed and I hope to see more from you!!!
You are really good …
You are really good at this. I have watched a ton of tutorial videos and by far your are the best.
Hahahaha…why …
Hahahaha…why didn’t I watch this part to the end. At 5 minutes you found the mistake. Well, all I can say is that for a beginner I didn’t do too bad for debugging and finding that the hash is the reason.
Greta tutorials.
…
Greta tutorials.
But I got stuck at part 3 for 2 hours!!! It always said “Password must be between 6 and 25 char.” I debugged checked braces etc. Then it came to me, what if I comment out the hashing. And it worked. Because the hashing does convert the password into an imenese long string. But why is that? It seems to be working for some on here, but not for me. Am I doing something wrong or is it some setup in an .ini file? Let me know please as I will continue your great series.
If you message me …
If you message me your code, i’ll take a look!
im getting …
im getting successfull registration but no data is entering my database :S
Nice to hear! Keep …
Nice to hear! Keep it up…!
Yes, i’ll see them …
Im learning more in 2 days than in 2 months!
Yes, i’ll see them all! its just great!
At the top of the …
At the top of the page there is a mysql_connect function present. It’s always better to have everything in a seperate page and include(), or better, require() if you want the page to terminate if connect can’t be found. But, for the sake of teaching, i’d typed it over and over.
I’m glad you enjoy my tutorials!
These tutorials are …
These tutorials are great. I know other programming languages, and know some php, but this gives me the basic structures I need to start coding websites.
One question, in register.php you have a mysql_select_db(); but you don’t have any connection to the db, how did it work?. Shouldn’t be an include(connection.php); at the beginning?