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
Re: Does PHP5 treat $_SERVER['PHP_AUTH_USER']) differently? [message #177662 is a reply to message #177659] Thu, 12 April 2012 14:56 Go to previous messageGo to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On Apr 12, 3:31 pm, Marc Fenner <fenne...@hotmail.com> wrote:
> 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.
Surely your adaptations must have relied on something other than these
2 variables (since they were empty) and so there would seem to be no
reason (from what you have posted) why you could not continue to use
your adaptations and have the script working.
[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 14:52:08 GMT 2024

Total time taken to generate the page: 0.04154 seconds