Re: Server side redirection - yet again
| From: | Richard Quadling | Date: | Wed, 27 Jan 2010 13:54:17 +0000 |
| Subject: | Re: Server side redirection - yet again | ||
| References: | 1 2 3 4 5 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29827@lists.php.net to get a copy of this message | ||
2010/1/27 Jacob Kruger <jacobk@mailzone.co.za>:
> Ok, worked perfectly.
>
> Only thing had to remember was to first move all html headers markup tags
> below the relevant header commands, or else it seemed to include them in the
> data stream, and therefore corrupt the document a bit.
I wouldn't expect there to be any HTML tags in this script. It should
do 1 of 3 things.
1 - Issue a redirect header to the login/home page if the session is invalid.
2 - Do nothing if the requested document id is invalid - though you
may want to do something different.
3 - Output the headers and the document.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling