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


Technorati Tags: , , , , , , , , , , , , , , , , , , , , ,

17 Responses to “PHP Tutorials: Register & Login: User registration (Part 4)”

  • mayday82 says:

    Thanks. would glad …
    Thanks. would glad if you can share some business practice like using include() or require() in this tutorial. :)

  • diythings says:

    hey ur awesome but …
    hey ur awesome but i need help can you send me the register page code please?
    thank you

  • johnospriority says:

    test
    test

  • Neroxzz says:

    many thanks :D I …
    many thanks :D I used this to make a subscribe function so i can use the mailing list system :D

  • phpacademy says:

    Yeah I think I …
    Yeah I think I addressed this issue later on in the video set. Thanks for pointing this out to everyone!

  • xXDunderheidXx says:

    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. :)

  • omanoman98 says:

    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!

  • chjustin69 says:

    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!!!

  • GorillaAgent says:

    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.

  • wolf69wolf69 says:

    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.

  • wolf69wolf69 says:

    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.

  • phpacademy says:

    If you message me …
    If you message me your code, i’ll take a look!

  • marchoward06 says:

    im getting …
    im getting successfull registration but no data is entering my database :S

  • phpacademy says:

    Nice to hear! Keep …
    Nice to hear! Keep it up…!

  • ikiOchoa says:

    Yes, i’ll see them …
    Yes, i’ll see them all! its just great! :) Im learning more in 2 days than in 2 months!

  • phpacademy says:

    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!

  • modernclics says:

    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?

Leave a Reply