Re: php/.htacces authentication
| From: | Micah Stevens | Date: | Fri, 06 Feb 2004 20:30:50 +0000 |
| Subject: | Re: php/.htacces authentication | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32827@lists.php.net to get a copy of this message | ||
.htaccess files will parse before the php script, so you don't have any direct
control over them for a particular page load. If you want to use that pop up
window for log ins, instead of an .htaccess file, use the php functions:
Here's a tutorial:
http://www.weberdev.com/ViewArticle.php3?ArticleID=382
On Fri February 6 2004 11:11 am, john@wunderly.net wrote:
> Hi,
> I have a need to protect directories using .htaccess but want to initially
> authenticate via the tables used by phpBB. How do I tell avoid the browser
> popping up a login window for the directory when I know that the user
> should be allowed in?
>
> thanks,
> John Wunderly