Nevermind. I don't know what I was thinking. You're using !=, so go
back to using || instead of the &&. I goofed. See if that fixes the
problem now. Continue using the $_SERVER globals, though.
gohaku wrote:
Hi Ben,
I change the if statement to:
if ( ($_SERVER['PHP_AUTH_USER'] != "user") &&
Yahoo probably has register_globals turned off, and rightly so. Try
$_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] instead, but I
would rather go with && instead of ||.
Take a look at http://www.php.net/features.http-auth for more info.
Gohaku wrote:
Hi all,
I'm trying to implement "HTTP
2 matches
Mail list logo