Re: [PHP] HTTP AUTH in PHP5

2004-10-27 Thread Christophe Chisogne
Nunners wrote: I'm having some problems with using HTTP Auth in PHP5 IIRC, php 5.0 had a bug related to HTTP auth, corrected in php 5.0.1: [1] "Fixed bug #29132 [http://bugs.php.net/29132] ($_SERVER["PHP_AUTH_USER"] isn't defined). (Stefan)" Note, I cant access bugs.php.net right now. If you use P

Re: [PHP] HTTP AUTH in PHP5

2004-10-26 Thread John Nichel
Nunners wrote: I'm having some problems with using HTTP Auth in PHP5 - how do I check whether the old $PHP_AUTH_USER exists? It's part of the $_SERVER super global. $_SERVER['PHP_AUTH_USER'] -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://w

[PHP] HTTP AUTH in PHP5

2004-10-26 Thread Nunners
I'm having some problems with using HTTP Auth in PHP5 - how do I check whether the old $PHP_AUTH_USER exists? Cheers Nunners

Re: [PHP] HTTP Auth

2001-05-09 Thread gary
Thanks Ive fixed my problem.. "Thomas Edison Jr." wrote: > Try using this : > > $auth = false; // Assume user is not authenticated > if (isset( $PHP_AUTH_USER ) && isset($PHP_AUTH_PW)) { > > mysql_connect('localhost','root') or die ( > 'Unable to connect to server.' ); >

Re: [PHP] HTTP Auth

2001-05-09 Thread Thomas Edison Jr.
Try using this : works excellent on any browser, apache server with PHP module. T. Edison jr. --- gary <[EMAIL PROTECTED]> wrote: > Im having a problem with Authentication uisng > $PHP_AUTH_USER and > $PHP_AUTH_PASSWORD works fine connecting via > netscape but automatically > set to false w

[PHP] HTTP Auth

2001-05-08 Thread gary
Im having a problem with Authentication uisng $PHP_AUTH_USER and $PHP_AUTH_PASSWORD works fine connecting via netscape but automatically set to false when using IE 5. Apache server , PHP installed as a module on a freebie server. Code below: '; echo 'Please go to Registration page to Get a log