It's not 'php' but 'php_value'.
php_value auto_prepend_file "pathtoscript/uniemail.php"
Richard Baskett wrote:
> What I want to do is have a function available to all my php files without
> having to use an include in every page. So what I did was put this line in
> my .htaccess file:
>
> php
php_value include_path "../includefiles/:../../includefiles/"
Bill wrote:
> How can I set the php include path on an Apache machine using .htaccess.
>
> Assuming I'm puting it outside of the web root, I think it is something
> like:
>
> php_include_path "../includefiles/:../../includefiles/"
>
Is your ISP running Apache? If so, they should allow you to create a
.htaccess file. You can set all of PHP's ini parameters from there with
the php_value/php_flag directives in PHP 4 or (in)directly using PHP 3.
Like this:
# PHP 4
php_flag magic_quotes_gpc on
# PHP 3
php3_magic_quotes_gpc
3 matches
Mail list logo