Re: [PHP] Link to a Site

2003-06-04 Thread sven
don't echo anything before the header. else there is automatically a header generated by your server. "Mishari" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi, > I used it before, but I had a problem > > my code look like, > if (--) { > echo "---"; > header(--)

Re: [PHP] Link to a Site

2003-06-03 Thread Mishari
Hi, I used it before, but I had a problem my code look like, if (--) { echo "---"; header(--); } I don't know what is it? --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > Discused few threads ago: > header('Refresh: 15; url=newurl.php' ); > > 15 is in seconds. > > Mishari wrote:

Re: [PHP] Link to a Site

2003-06-03 Thread Marek Kilimajer
The warning says the headers were already sent. You need to put ANY header() before ANY output (echo, print, anything outside ). 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, b

Re: [PHP] Link to a Site

2003-06-03 Thread Marek Kilimajer
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 whi

[PHP] Link to a Site

2003-06-03 Thread Mishari
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 Y