What do mean with "wont work"? Does the if expression
allway evaluate to false, or what?
By the way, you might like to check out:
http://nl.php.net/manual/en/security.registerglobals.php
-Original Message-
From: Symeon Charalabides
To: [EMAIL PROTECTED]
Sent: 2004-02-01 21:56
Subject: [P
Symeon Charalabides,Helloļ¼
I think your code is absolutely right,because I used it like that before.
I don't know what happened to it,but I could give you some suggestions:
1.Make sure if there is any error message when an error occurs.Because other
error codes will result in halting the
php-windows Digest 1 Feb 2004 18:58:06 - Issue 2103
Topics (messages 22690 through 22691):
Re: URGENT - Enabling mcrypt() in PHP 4.3.3 on Windows XP (windows installer
22690 by: Svensson, B.A.T. (HKG)
User authentication problem
22691 by: Symeon Charalabides
Administrivia:
Hi all,
I've always utilized basic user authentication by including the following code in
my protected files:
if ($_SERVER['PHP_AUTH_USER']!='name' || $_SERVER['PHP_AUTH_PW']!='password')
{
header("WWW-Authenticate: Basic realm=\"Website administration\"");
header("HTTP/1.0 401
> Please reply ASAP, with a step-by-step guide
1) RTFM.
2) done.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php