Re: Trouble with PHP server script

From: Date: Thu, 14 Feb 2008 20:34:14 +0000
Subject: Re: Trouble with PHP server script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-269319@lists.php.net to get a copy of this message
On Sun, February 10, 2008 9:09 pm, Robert Cox wrote: > Is it possible to use the "$_SERVER['PHP_AUTH_USER'];" construct in a > URL > forwarded site? I am trying to find the authorised user id so that I > can > access an SQL database with it. Anyone got some ideas? If you do a Location: with a FULL URL then the browser will forward POST and I think AUTH data. If you use a partial URL, it seems to work, but IE will decide not to forward that data. It is in the spec that you need the full URL, starting with http:// for a Location header. This may (or may not) be what is messing you up. -- 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/from/lynch Yeah, I get a buck. So?

« previous php.general (#269319) next »