Cool. I didn't know that. Theoretically, then, you could have a separate auto_append and auto_prepend file for each web root or even directory within a webroot, right?
On 3/2/07, Ryan Stille <[EMAIL PROTECTED]> wrote: > You don't need to have access to the php.ini file. You can set those > directives in an .htaccess file. I done this on shared hosting providers. > > If you did it in .htaccess the syntax would be: > > php_value auto_prepend_file Application.php > php_value auto_append_file onRequestEnd.php > > -Ryan > > Christopher Jordan wrote: > > Probably not, but I didn't read where the original poster said he was > > using a shared host. And you're probably right, the shared host probably > > has these turned off. I was just trying to show that it *is* possible to > > prepend and append files in php. I'm also used to hosting my own. I'm > > fortunate enough to work for a small company who is in the business of > > hosting for our clients. > > > > Chris > > > > Tom Chiverton wrote: > > > >> On Friday 02 Mar 2007, Christopher Jordan wrote: > >> > >> > >>> In fact, here are the two lines I included in my php.ini file (which on > >>> my fadoracore4 system is located in /etc) > >>> > >>> > >> On a typical shared host, you wouldn't be able to set those parameters > >> though, > >> would you ? > >> > >> > >> > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271331 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4