Re: [PHP] changing the ini from a file

2008-01-17 Thread Dan
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Jan 16, 2008 12:02 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: Jim Lucas wrote: > Wolf wrote: >> I'm using .htaccess to do >> php_value auto_prepend_file "auth.php" >> >> The problem is that there are very specific fil

Re: [PHP] changing the ini from a file

2008-01-16 Thread Richard Lynch
Personally, I would find it confusing to have settings in httpd.conf with different file suffixes controlling whether or not any given application file included the auth.inc file... Even doing it in .htaccess with seems a bit hackish. Turning auto_prepend on/off seems reasonable. But I'd still

Re: [PHP] changing the ini from a file

2008-01-16 Thread Wolf
Jim Lucas <[EMAIL PROTECTED]> wrote: > Jim Lucas wrote: > > Wolf 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

Re: [PHP] changing the ini from a file

2008-01-16 Thread Daniel Brown
On Jan 16, 2008 12:02 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > > Jim Lucas wrote: > > Wolf 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

Re: [PHP] changing the ini from a file

2008-01-16 Thread Wolf
Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 16, 2008 11:33 AM, Wolf <[EMAIL PROTECTED]> wrote: > > Daniel Brown <[EMAIL PROTECTED]> wrote: > [snip] > > > 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, > >

Re: [PHP] changing the ini from a file

2008-01-16 Thread Jim Lucas
Jim Lucas wrote: Wolf 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

Re: [PHP] changing the ini from a file

2008-01-16 Thread Jim Lucas
Wolf 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 hopi

Re: [PHP] changing the ini from a file

2008-01-16 Thread Daniel Brown
On Jan 16, 2008 11:33 AM, Wolf <[EMAIL PROTECTED]> wrote: > Daniel Brown <[EMAIL PROTECTED]> wrote: [snip] > > 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 l

Re: [PHP] changing the ini from a file

2008-01-16 Thread Wolf
Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 16, 2008 11:10 AM, Wolf <[EMAIL PROTECTED]> 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 cou

Re: [PHP] changing the ini from a file

2008-01-16 Thread Daniel Brown
On Jan 16, 2008 11:10 AM, Wolf <[EMAIL PROTECTED]> 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 p

[PHP] changing the ini from a file

2008-01-16 Thread Wolf
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 hav