In fact, here are the two lines I included in my php.ini file (which on 
my fadoracore4 system is located in /etc)

; Automatically add files before or after any PHP document.
auto_prepend_file = application.inc.php
auto_append_file  = onrequestend.inc.php


I named the files anything I wanted and I included the .inc to remind me 
that they were include files. Then I just named them after their 
coldfusion counterparts.

Have fun, and educate your pro level PHP developers. ;o)

Cheers,
Chris

Rob Wilkerson wrote:
> Don't know what to tell them, but I've done it.  At least with PHP
> 4.x.  I've included the php.ini doc.  Search for "auto_prepend_file".
> The second hit describes what it does.
>
> http://de3.php.net/manual/en/ini.core.php
>
> On 3/2/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
>   
>> I just asked two pro level PHP developers I used to work with and they both 
>> said there is no automatic way of including a file. Only way is to have an 
>> explicit include call.
>>     
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:271312
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to