.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@xxxxxxxxxxxx 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php