RE: [PHP] setting output_buffering for certain hosts or directories
| From: | scott [gts] | Date: | Thu, 28 Jun 2001 18:36:57 +0000 |
| Subject: | RE: [PHP] setting output_buffering for certain hosts or directories | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55524@lists.php.net to get a copy of this message | ||
i've never done this myself, but a suggestion would
be to check out: 'auto_append_file' and 'auto_prepend_file'
they're php.ini directives.
for example, try adding "auto_prepend_file 'stuff.php'"
to your php.ini
when PHP goes to load a page, it'll first check to see if
'stuff.php' can be found, then it'll include('stuff.php')
and proceed with your script...
in 'stuff.php', you can then turn on any "per-directory"
options you want....
> -----Original Message-----
> From: Mark Maggelet [mailto:maggelet@mminternet.com]
> Subject: [PHP] setting output_buffering for certain hosts or directories
>
>
> Is there any way to set output_buffering per directory or host?
> I tried putting:
> php_value output_buffering On
>
> in my virtual host, also in <directory>, <location>, and .htaccess
> the only place it seems to get noticed is in php.ini
>
> php4.7devel/apache1.3.20/linux
>
> thanks,
> - Mark
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>