Jump to content

stopping users from entering thru a url


mike1313

Recommended Posts

make it so that the home page starts a session with a varible assigned as 1 then on each page that you dont want them to go straight to just do a

if(isset($_SESSION('beenhere')) AND $_SESSION('beenhere') == 1 ){

Whatever

}ELSE{

echo 'YOU CANT GO HERE FOO';
};

 

~d

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.