[PHP] header('Location:') works locally but not remotely

2007-04-16 Thread Ross
any reason why this should be?

R. 

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



Re: [PHP] header('Location:') works locally but not remotely

2007-04-16 Thread Dave Goodchild

Provide some code...?


Re: [PHP] header('Location:') works locally but not remotely

2007-04-16 Thread Richard Lynch
On Mon, April 16, 2007 11:16 am, Ross wrote:
 any reason why this should be?

Things that could go wrong:

1. output_buffering can make header work when it shouldn't because
it will buffer HTML (or other) output and then it works

2. Location: URLs are supposed to be full-blown URLs.  Maybe it
works when they're not, and maybe it doesn't.  Depends more on the
browser than on anything, but who knows fomr what little you've given
us...

3. Remote server *could* have header() function disabled in php.ini --
unlikely, but possible.

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

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