Well, I've come along quite a bit with my database coding, and learned quite a lot along the way.
What I basically need is a secure way of checking a users session as each page is loaded, once a user has logged in using a username and password.
I have the following function so far:
function session_checker(){
if(!session_is_registered('first_name')){
include 'login_form.html';
exit(); }
}
But I'm also informed that there's lots of ways of getting around it.
Personally, I didn't even know what a session was until about 10 hours ago, so I'm a little lost.
If anyone has a quick and easy function I can use at the top of each page to check the users session then I'd be very grateful.
Thanks again!
Roses