if you have output buffering on in php.ini

output_bufffering = on

cobine this with

<?php
    header("Location: http://$SERVER_NAME/index.php");
    exit();
?>

and youve got a great cobination, zero html will be sent to the browser,
just the header, the browser will refresh for you. try it, works better then
meta tags.


--

 Chris Lee
 Mediawaveonline.com

 ph. 250.377.1095
 ph. 250.376.2690
 fx. 250.554.1120

 [EMAIL PROTECTED]



""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have been using the code below to do my page redirects for a year and a
> half with good results. Recently, some users have reported to me that the
> actual code is being partially displayed to the screen, and the re-direct
is
> not occurring. It is as if the server stops serving the page before it is
> complete. Sometimes the problem can be corrected by the user just doing a
> manual refresh in their browser. Is anyone else that uses META tag
> re-directs having this problem? Anyone know what the solution might be?
>
> Thanks.
>
> Kirk
>
> echo("<HTML><HEAD><META HTTP-EQUIV=\"refresh\"
CONTENT=\"$delay;url=$url\"><
> /HEAD><BODY BGCOLOR=#ffffff>$message</BODY></HTML>");
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to