FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Does PHP5 treat $_SERVER['PHP_AUTH_USER']) differently?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Does PHP5 treat $_SERVER['PHP_AUTH_USER']) differently? [message #177659] Thu, 12 April 2012 14:31 Go to previous message
Marc Fenner is currently offline  Marc Fenner
Messages: 1
Registered: April 2012
Karma:
Junior Member
Hi guys,

I was working on an old script last night, which was partly written by a friend.
It seems he used these variables:
$_SERVER['PHP_AUTH_USER'])
$_SERVER['PHP_AUTH_PW'])

However, these variables used to be empty when running on PHP4, so I had to adapt the script a little which worked pretty fine. Moving to PHP5, I suddenly see values in these variables after performing the usual HTTP AUTH.

It now seems I have to undo my adaptions to make the script work.

Did they change anything about these variables from PHP4 to PHP5? I cannot find any good documentation on that change (as it appears to be)..

Thank you for any ideas!
Marc
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: out of sheer curiosity...
Next Topic: OOP versus Procedural/Functional
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 09:15:29 GMT 2024

Total time taken to generate the page: 0.05013 seconds