RE: When logged in it redirects, how to? 07-14-2014, 05:47 PM
#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:
Location will instantly redirect you without showing you anything.
it is also known as:
Refresh:
Refresh will be a redirect based on X seconds:
it is also known as:
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
Regards,
Mike M.
There are 2 different well known header string arguments:: 'Location: Refresh:'
Location:
PHP Code:
Header("Location: http://www.example.eg");
it is also known as:
PHP Code:
Header("Location: Where_To_Redirect_To");
Refresh:
PHP Code:
Header("Refresh 5; URL=http://www.example.eg");
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

Regards,
Mike M.

![[Image: 120x240.gif]](http://www.gomezpeerzone.com/wp-content/uploads/2011/11/120x240.gif)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)