Re: Trouble with PHP server script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux