justinede Posted May 2, 2008 Share Posted May 2, 2008 what do i change to this code to put on my index so if there loged in already it just goes to index1.html <? session_start(); if(!session_is_registered(myusername)){ header("location:index.html"); } ?> that makes it so if they try to go to index1 it send them to index to login. but if there already logged in what makes them go to index1.html Quote Link to comment Share on other sites More sharing options...
peranha Posted May 2, 2008 Share Posted May 2, 2008 Do not double post, this is the same as your last post. Check that one for answers. 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.