PHP Tutorials: Register & Login: User login (Part 1)

Part of the ‘Register & Login’ Project from PHP Academy. This tutorials walks you through how to process a username and password based login against details found in a database, set a session, and process a logout function.

Author: phpacademy
Source: http://www.youtube.com/watch?v=4oSCuEtxRK8

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

This entry was posted on Sunday, January 1st, 2012 at 4:27 pm and is filed under . You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

25 Responses to “PHP Tutorials: Register & Login: User login (Part 1)”

  1. Sikeman214 Says:

    can you use Notepad++ to code PHP?

  2. ScapePkz Says:

    hello I’ve done one thing wrong i think But i cant find what.. Please add me skype ScapePkz

  3. TheGubenko Says:

    ein wirklich gutes Tutorial :D

  4. TheLemonfruit Says:

    when i try to go to login.php file it goes to blank page.. did everything as you but still couldnt go to the same page as u did… i got localhost and all but still nothing.. pls help??

  5. smoketest123 Says:

    What can I use instead of mysql_select_db ?

  6. smoketest123 Says:

    If i type mysql_select_db it doesent work on my 000webhost server!! Why? :(

  7. MistoKurdish Says:

    thank you , its very helpful

  8. masuulka90 Says:

    Hyper Text Markup language = HTML! … in laymans terms… HTML is a language in which the browser (Internet Explorer, Firefox, Opera, Safari, Chrome..) can understand and the browser interprets HTML coding to show you web pages in your PC neatly.

  9. Sikeman214 Says:

    @FashSolanki yes, i have XAMMP.

  10. jkx12 Says:

    Brill tutorial man !!!

  11. groombridge1618 Says:

    @smoketest123
    mysqli_connect(‘host’, ‘user’, ‘password’, ‘DATABASE’); 

  12. Mycha31 Says:

    Just a couple things I wanted to point out:
    - The inputs and breaks don’t have end tags.
    - You probably should use char data types instead of varchar in this case, so your table has fixed-length records. It takes marginally more space, and SIGNIFICANTLY speeds up searches.
    - You don’t have a uniqueness constraint on username, which you probably want.

  13. LEilllLEi Says:

    @text2121 Hyper Text Markup language = HTML! … in laymans terms… HTML is a language in which the browser (Internet Explorer, Firefox, Opera, Safari, Chrome..) can understand and the browser interprets HTML coding to show you web pages in your PC neatly..

  14. madtriksmadtriks Says:

    Your videos suck you don’t explain stuff enough

  15. MegaZizigolo Says:

    Good tutorial, keep going!

  16. tgp611591 Says:

    I double checked all my scripting but I still get the couldn’t connect error. How can I fix that?

  17. BGSlimBG Says:

    man,you rock!!!
    We need people like YOU!!! Keep the great tutorials up!!!

    THANK YOU!!!

  18. Sikeman214 Says:

    you know what i hate,
    when i spend forver looking over these stupid
    tutorials
    and they don’t work.

    IT downloads the fucking login.php when i type it in or click log in…
    i’ve looked it over for 2 hrs now, thanks PHPacademy

  19. KobeBentleyTV Says:

    this is php

  20. FashSolanki Says:

    @Sikeman214 can u tell me your problem in detail. this tut worked for me.

  21. TheLemonfruit Says:

    really tutorial but can some1 explain how localhost and phpmyadmin works? idk how to open them or anything.. pls help.. googled but nothing

  22. Sikeman214 Says:

    I’ve looked OVER EVERYTHING.
    I do not get that connect error when i refresh my login.php!!!! PLEASE HELP!

  23. realtuty Says:

    great tutorial

  24. FashSolanki Says:

    @Sikeman214 dude did you set up xammp aor wammp server?

  25. andrewvpover Says:

    @ItsVicc It’s called sarcasm.

 
About - Contact - Privacy - Terms of Service