gammaman Posted April 25, 2010 Share Posted April 25, 2010 I have an index.php page which of course loads from root by default. I have code there that says if $user and $pass are not set, to redirect to login.php. It does not redirect them. Is this possible to do? How? Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted April 25, 2010 Share Posted April 25, 2010 Yes it's possible. Post the relevant code you have and I'm sure someone will be able to help you with it. Quote Link to comment Share on other sites More sharing options...
gammaman Posted April 25, 2010 Author Share Posted April 25, 2010 my bad. In my haste I forgot to put the "location:" for the header redirect. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted April 25, 2010 Share Posted April 25, 2010 I hate when that happens . . . Glad you found it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.