Re: Redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux