Jump to content

Redirecting


dalawh

Recommended Posts

I am using an if and else statement. it will display the index.php if the cookies are set and it will display the other.php if the cookies are not set. I have been using the header function to redirect. instead of using require/include to display the page. Is there a better way to redirect the pages or is the header the best way?

Link to comment
Share on other sites

there are also refresh as i was learned about inside these forums :)... dont know if its usefull in your situation, but i would use it i think :)... if not, well... use the header location as jsg told ya ;)...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...