Re: overriding auto_prepend_file
| From: | php3 at developersdesk dot com | Date: | Wed, 30 Aug 2000 04:44:12 +0000 |
| Subject: | Re: overriding auto_prepend_file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14303@lists.php.net to get a copy of this message | ||
Addressed to: Dave Seidel <dave@superluminal.com>
php-general@lists.php.net
** Reply to note from Dave Seidel <dave@superluminal.com> 29 Aug 2000 10:03:37 EDT
>
> What's the best way to override auto_prepend_file in httpd.conf or
> .htaccess? I have a default setting in php.ini that sets it to an
> actual filename, but I want to turn it off for a specific area of my
> site. I've found that this works:
>
> php_value auto_prepend_file "/dev/null"
>
> but I was wondering if there is a better or more preferred way. I
> can't use an empty string ("") because it's not accepted by the
> configuration file parser.
>
The only thing I can think of, turn it off globaly and turn it on in the
areas of the site you want it on.
Rick Widmer
Internet Marketing Specialists
www.developersdesk.com