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
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
I'm having some problems with using HTTP Auth in PHP5 - how do I check
whether the old $PHP_AUTH_USER exists?
Cheers
Nunners
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.' );
>
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
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
6 matches
Mail list logo