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 #177664 is a reply to message #177659] Thu, 12 April 2012 16:36 Go to previous message
Thomas Mlynarczyk is currently offline  Thomas Mlynarczyk
Messages: 131
Registered: September 2010
Karma:
Senior Member
Marc Fenner schrieb:
> $_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.

I think these variables are only available when PHP is running as a
module, but not when it's running as (Fast)CGI. Maybe that's why they
didn't work before and do now.

Greetings,
Thomas

--
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)
[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: Sun Nov 24 10:36:18 GMT 2024

Total time taken to generate the page: 0.04716 seconds