Vit wrote:

> Hi all,
> I'm trying to understand how to redirect to a static page....
> here you are the code (it seem to be a stupid code, but I'm just
> debugging.....
> <?php
>       header( "Location:"; );
> ?>
> instead of being redirect to,com, I get the following error:
> Warning: Cannot modify header information - headers already sent by
> what can be??? how can I solve it??

The header needs to be the very first output your script sends out. No 
other output may come before it. This is clearly discussed in the manual 
at <>.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to