---- Daniel Brown <parasane@xxxxxxxxx> wrote: > On Jan 16, 2008 11:10 AM, Wolf <lonewolf@xxxxxxxxx> wrote: > > I'm using .htaccess to do > > php_value auto_prepend_file "auth.php" > > > > The problem is that there are very specific files that I want to be able to NOT run that in. I guess I could just move them to a directory and use .htaccess to perform a > > php_value auto_prepend_file "" > > > > But I was hoping to not have to make a separate folder for that. Anyone encoutered being able to change/disable the setting on the fly in a specific file? > > At that point, wouldn't it be just as easy to <? > require('auth.php'); ?> as the first line of each file you want it in, > and omit the line in those you don't? Or are there a lot of files? > > -- LOTS of files, hence wanting to do it sporadic, mostly just for diagnostic pages. I can always just drop them and use the .htaccess to disable the prepend for that folder/files but was wondering if I could do it on the fly. Seems like the prepend can't but figured I would check with the folks here before I completely gave up. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php