NYCPHP Meetup

NYPHP.org

[nycphp-talk] http basic auth suddenly not working

Jiju Thomas Mathew lists at silmail.com
Wed Jun 6 20:59:36 EDT 2007


try
print_r(get_defined_vars())

and see if you can identify the _SERVER key to use.. if it is changed..

On 6/6/07, Michael Southwell <michael.southwell at nyphp.com> wrote:
>
> A host I use recently upgraded to PHP 5.2.0, running on Apache
> 1.3.37, and suddenly a perfectly functioning HTTP Basic
> Authentication is not working, presumably because PHP is no longer
> returning $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'], or
> at least not returning them correctly. They aren't very cooperative
> on fixing this. I don't see anything with phpinfo() that might give a
> clue as to what is happening.  Can anyone suggest something?
>
> Michael Southwell, Vice President for Education
> New York PHP
> http://www.nyphp.com/training - In-depth PHP Training Courses
>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>



-- 
Jiju Thomas Mathew
http://www.php-trivandrum.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070607/c4ff481d/attachment.html>


More information about the talk mailing list