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 <[EMAIL PROTECTED]> 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
_______________________________________________ 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
