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?

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

Reply via email to