Re: redirecting in php
| From: | Hartmut Holzgraefe | Date: | Mon, 09 Jul 2001 07:49:46 +0000 |
| Subject: | Re: redirecting in php | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969335996@lists.php.net to get a copy of this message | ||
Pedro Lopes wrote:
> Can anyone tell me how can I insert a redirect instruction to another
> page anywhere in PHP code without using header(location:
> www.php.net).Do I have to use a javascript?
if you really want to avoid using http-headers you have to go for
javascript, but if you just have problems with 'output already sent'
warnings when using header() you should have a look at the output
buffering functions at http://php.net/outcontrol
--
Hartmut Holzgraefe hartmut@six.de http://www.six.de
+49-711-99091-77