Re: Redirection
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Redirection | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22218@lists.php.net to get a copy of this message | ||
You have to put this before any other output on the page.
-Rasmus
On Thu, 27 Nov 2003, PETCOL wrote:
> Newbie questions again.
>
> In ColdFusion I'd use a <CFLOCATION> tag to push the user to another page or
> location.......
>
> In PHP I've read you can use a:
>
> <?php
> header("Location:
> http://domain/virtual/yourpage.php");
> exit;
> ?>
>
> However, when ever I've tried this I keep getting errors something like:
> "Warning: Cannot modify header information - headers already sent by(page
> I'm working on)"
>
> Suggestions?
>
> Col
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>