Login Register


When logged in it redirects, how to? filter_list
Author
Message
RE: When logged in it redirects, how to? #21
Remember: THE HEADER() FUNCTION MUST BE USED BEFORE ANY HTML IS OUTPUTTED

There are 2 different well known header string arguments:: 'Location: Refresh:'

Location:
PHP Code:
Header("Location: http://www.example.eg");
Location will instantly redirect you without showing you anything.

it is also known as:
PHP Code:
Header("Location: Where_To_Redirect_To");

Refresh:
PHP Code:
Header("Refresh 5; URL=http://www.example.eg");
Refresh will be a redirect based on X seconds:

it is also known as:
PHP Code:
Header("Refresh: Seconds; URL= Where_To_Redirect_To");

If you have any problems importing this feel free to post again I hope I gave you a bit more information about what you can do Wink

Regards,
Mike M.
Calling me stupid won't mind me it only shows your immaturity -<3

[Image: 120x240.gif]

Reply





Messages In This Thread
When logged in it redirects, how to? - by BlueCat - 06-15-2014, 04:03 PM
When logged in it redirects, how to? - by BlueCat - 06-15-2014, 04:03 PM



Users browsing this thread: 1 Guest(s)