PHP log in and session?

Nik

New member
Can someone explain to me how php uses log in scripts and how it can grant access once logged in through out the site. I'm kinda having trouble getting my head around it. My question to make myself sound more clear is how once you successfully log in does php on another page know your are logged in.

Thanks for your help

by the way I'm not a complete beginner but enough of a beginner to get myself confused. So you can use programming terms.

Thanks again.
Ok so i use sessions so expanding on before here is the following

I have a log in script working it checks the database for a matching username and password. I have checked this script with an invalid username and pass which got rejected.

Right so on my main page is a blog the user can not enter the blog until they are signed in how do I use sessions to check wether they are signed in or not effectivley enabling the blog once they are signed in.
 
Back
Top