RE: [PHP-WIN] User authentication problem

2004-02-03 Thread Symeon Charalabides
> What do mean with "wont work"? Does the if expression > allway evaluate to false, or what? > Indeed. 3 attempts and I'm out. On exiting, the 2 variables still contain empty strings. > By the way, you might like to check out: > > http://nl.php.net/manual/en/security.registerglobals.php > I d

RE: [PHP-WIN] User authentication problem

2004-02-01 Thread Svensson, B.A.T. (HKG)
56 Subject: [PHP-WIN] User authentication problem 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') {

Re: [PHP-WIN] User authentication problem

2004-02-01 Thread Meteorlet
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-WIN] User authentication problem

2004-02-01 Thread Symeon Charalabides
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

[PHP-WIN] User Authentication...

2003-06-13 Thread Guru P Chaturvedi
Hi There, I need some serious help...I wanted to know are there any ways of accepting username and password from a webpage (form) and lgoin thru HTAccess? what i mean is instead of using the screen shon in attachment i wanna use a html form to login (tex boxes) but want similar functionality as the