On Tue, 2 Dec 2003, Chris Hubbard wrote:
> All, dealing with header("location:...") again.  and trying to
> understand what's happening. I've got the following code:
> header("Location:http://www.mysite.com/cp/ad/ad_details.php?id=";. $id);

I'm kinda surprised I didn't see this mentioned.. Have you tried:
header("Location: http://url.redirect/\n\n";); exit; // ?

The browser may be particular about the headers. When you add the two 
newlines to the end, it makes it look like the end of the headers.

It's good practice to explicitly exit each time you redirect.

-- 
Kelly Hallman
// Ultrafancy

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

Reply via email to