The warning says the headers were already sent. You need to put ANY header() before ANY output (echo, print, anything outside <?php ?>). If you output anything, all necesery heders are send and then is send your output. After this you cannot add any more headers.

Mishari wrote:
Hi,
 I used it before, but I had a problem:
my code is

if (---------){
 echo "........";
 header (.........);
}

but I usually got an error.

Kind Regards,
esheager


--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:


Discused few threads ago:
header('Refresh: 15; url=newurl.php' );

15 is in seconds.

Mishari wrote:

Hi all,

I need help,
actually I'm building a PHP site where my users

will


wait for a few seconds reading a text then it will
automatically  link them to another site.

I'm looking for the command which auto. link to

other


sites.


Kind Regards, esheager

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync

to Outlook(TM).


http://calendar.yahoo.com




__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to