php-windows | 2003112
Date: 11/27/03
- Next message: PETCOL: "Re: [PHP-WIN] Redirection"
- Previous message: PETCOL: "[PHP-WIN] Redirection"
- In reply to: PETCOL: "[PHP-WIN] Redirection"
- Next in thread: PETCOL: "Re: [PHP-WIN] Redirection"
- Reply: PETCOL: "Re: [PHP-WIN] Redirection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: PETCOL: "Re: [PHP-WIN] Redirection"
- Previous message: PETCOL: "[PHP-WIN] Redirection"
- In reply to: PETCOL: "[PHP-WIN] Redirection"
- Next in thread: PETCOL: "Re: [PHP-WIN] Redirection"
- Reply: PETCOL: "Re: [PHP-WIN] Redirection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

