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

January 1st, 2012 at 4:30 pm
can you use Notepad++ to code PHP?
January 1st, 2012 at 4:46 pm
hello I’ve done one thing wrong i think But i cant find what.. Please add me skype ScapePkz
January 1st, 2012 at 5:04 pm
ein wirklich gutes Tutorial
January 1st, 2012 at 5:08 pm
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??
January 1st, 2012 at 5:33 pm
What can I use instead of mysql_select_db ?
January 1st, 2012 at 5:40 pm
If i type mysql_select_db it doesent work on my 000webhost server!! Why?
January 1st, 2012 at 5:53 pm
thank you , its very helpful
January 1st, 2012 at 7:59 pm
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.
January 1st, 2012 at 8:02 pm
@FashSolanki yes, i have XAMMP.
January 1st, 2012 at 8:11 pm
Brill tutorial man !!!
January 1st, 2012 at 8:51 pm
@smoketest123
mysqli_connect(‘host’, ‘user’, ‘password’, ‘DATABASE’);
January 1st, 2012 at 10:15 pm
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.
January 1st, 2012 at 10:25 pm
@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..
January 1st, 2012 at 10:36 pm
Your videos suck you don’t explain stuff enough
January 1st, 2012 at 10:55 pm
Good tutorial, keep going!
January 1st, 2012 at 11:21 pm
I double checked all my scripting but I still get the couldn’t connect error. How can I fix that?
January 1st, 2012 at 11:39 pm
man,you rock!!!
We need people like YOU!!! Keep the great tutorials up!!!
THANK YOU!!!
January 2nd, 2012 at 12:13 am
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
January 2nd, 2012 at 12:54 am
this is php
January 2nd, 2012 at 1:00 am
@Sikeman214 can u tell me your problem in detail. this tut worked for me.
January 2nd, 2012 at 1:11 am
really tutorial but can some1 explain how localhost and phpmyadmin works? idk how to open them or anything.. pls help.. googled but nothing
January 2nd, 2012 at 1:58 am
I’ve looked OVER EVERYTHING.
I do not get that connect error when i refresh my login.php!!!! PLEASE HELP!
January 2nd, 2012 at 2:57 am
great tutorial
January 2nd, 2012 at 3:26 am
@Sikeman214 dude did you set up xammp aor wammp server?
January 2nd, 2012 at 4:21 am
@ItsVicc It’s called sarcasm.