Re: Parsing CGI for PHP?
| From: | Richard Lynch | Date: | Tue, 09 Jul 2002 09:25:16 +0000 |
| Subject: | Re: Parsing CGI for PHP? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-106309@lists.php.net to get a copy of this message | ||
>Can this be done with apache 1.3 ?
>I want to have the output of my CGI-script to be parsed with PHP, or
>rather, have the php within the <? .. ?> parsed, of course, since the
>script outputs alot more than just php-code.
>
>Is it possible?
I don't think so.
Apache 1.x was designed to "hand off" the URL to one, and only one, CGI or Handler
pre-processor.
Only with Apache 2.x can you "stack" handlers. I dunno if Apache 2.x lets you
mix&match CGI with Handlers, though.
Unless you can output to some kind of file somewhere, and send the user there with a Location:
header, which is really ugly....
--
Like Music? http://l-i-e.com/artists.htm