Hello rogue,

Monday, December 1, 2003, 10:39:02 PM, you wrote:

r> echo looks fine (no error in the URL). I am stumped. Is there anything
r> besides output to the screen before header() that breaks it?

Other than browser incompatibility, not usually.

You can use the following to determine if a header has been sent
without you perhaps realising it (an extra space before a PHP tag
perhaps)

<?
if (!headers_sent()) {
    header ('Location: http://www.google.com/');
    exit;
}
?>

Ideally you should exit after the header is finished.

-- 
Best regards,
 Richard                            mailto:[EMAIL PROTECTED]

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

Reply via email to