Re: parsing of SSI scripts.
| From: | Sandman | Date: | Wed, 03 Jul 2002 20:46:56 +0000 |
| Subject: | Re: parsing of SSI scripts. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105290@lists.php.net to get a copy of this message | ||
In article <NGBBLCLNFOGFEGNEMCCCGEJLEKAA.andrew.chase@valleypres.org>,
andrew.chase@valleypres.org (Andrew Chase) wrote:
> I'm not sure if Apache will recursively process documents this way (Perl
> script -> HTML output with embedded PHP -> parsed PHP), but what about adding
> this HTTP header to your PERL script's output before the HTML/PHP code:
>
> Content-type: application/x-httpd-php
>
> That way Apache would (in theory) know know that the PERL script's output
> should be parsed by PHP.
Good idea, even though it doesn't seem to work... And I just figured that
virtual() doesn't send the ENV-variables to the script, so it's worthless
anyway... :(
--
Sandman[.net]