[PHP] Re: Auto_prepend_file

2002-02-28 Thread Pete Lacey
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] Re: php include path setting in .htaccess

2002-02-28 Thread Pete Lacey
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/" >

Re: [PHP] magic_quotes_gpc

2002-02-26 Thread Pete Lacey
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