echo looks fine (no error in the URL). I am stumped. Is there anything besides output to the screen before header() that breaks it?
thanks
On Dec 1, 2003, at 5:13 PM, Chris Shiflett wrote:
--- rogue <[EMAIL PROTECTED]> wrote:$redirect = "http://" . $_SERVER['HTTP_HOST'] . "/cm/clients/viewclient.php?id={$_REQUEST['id']}&foo=bar"; error_reporting(E_ALL); echo "Location: $redirect"; header("Location: $redirect");
I meant to try using a full URL first, then use echo if it still doesn't
work. :-) This shouldn't work as it is, because you have output prior to
your header call.
But, since you already tried this, what did the echo output? Did it look
correct? Comment that out, and see what happens.
Hope that helps.
Chris
===== Chris Shiflett - http://shiflett.org/
PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php