valid user
| From: | Bartosz Aninowski | Date: | Sun, 02 Jul 2000 14:05:53 +0000 |
| Subject: | valid user | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4357@lists.php.net to get a copy of this message | ||
I've got index.htmls where user put his username na password.
Next the pass.htmls is loaded and code check if password and user exist in
database (mysql) and match.
If everything is ok next part of code loads administrator options .
From this page user can load next page fe list.htmls
But when somebody write in borwser http://domain.com/list.htmls he can easly
access the page.
Is possible to forbid that without using .htpasswd, htaccess (popup window)
or cookie?
I want user to go thru index.htmls and pass.htms everytime!
Good solutions is sample of code witch check if username nad password exist
and match in .htpasswd.
Bart