|
Posted by Rik on 08/10/06 21:14
lazypig06@gmail.com wrote:
> binderup@gmail.com wrote:
>>> Just configure it in php.ini. Set auto_append_file to wherever your
>>> function is.
>>
>> Well that might not be a good idea if you don't want the functions to
>> be available for all virtual hosts (or if you don't have access to
>> the php.ini file).
>>
>> I prefer to use the .htaccess method:
>> php_value auto_prepend_file /full/path/to/script.php
> Thank you for your response. If you gonna use .htaccess to this this,
> how would you go about to do that ?
> I've searched many sites, but none of the sites I found has specific
> information about this stuff.
Exactly how he said, create an .htaccess file containing:
php_value auto_prepend_file /full/path/to/script.php
More files/scripts are perfectly possible.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|