Re: changing the ini from a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek and #1 Rated "Year's Coolest Guy" By Self Since
Nineteen-Seventy-[mumble].

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux