directory access
| From: | Norman Zhang | Date: | Fri, 26 Oct 2001 18:24:47 +0000 |
| Subject: | directory access | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-72481@lists.php.net to get a copy of this message | ||
Hi,
I have a simple authentication script.
if ($username == "abc")
{
readfile("abc/index.php");
}
else
readfile("index.php");
What I would like to know if there is some way that I can have the user
checked against the user in directory /abc/.htaccess? I would like to have
the script to jump into a directory if authenticates. Can this be done with
a single authentication? TIA.
Regards,
Norman