Re: PHP/Perl/CGI Question
| From: | Clayton Dukes | Date: | Tue, 20 Mar 2001 19:38:34 +0000 |
| Subject: | Re: PHP/Perl/CGI Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44811@lists.php.net to get a copy of this message | ||
I was afraid you were going to say that...
Anyone care to show me how to write that?
Clayton Dukes
---------------------------------------------------------------------
Download Free Essays, Term Papers and Cisco Training from http://www.gdd.net
----- Original Message -----
From: "Andrew Rush" <andy@mainetoday.com>
To: "Clayton Dukes" <cdukes@cdukes.com>
Sent: Tuesday, March 20, 2001 2:33 PM
Subject: Re: [PHP] PHP/Perl/CGI Question
> on 3/20/01 02:21 PM, cdukes@cdukes.com splat open and thusly melted:
>
> > What am I doing wrong? Why is it printing the php tags instead of
executing
> > them?
>
> because the output of a CGI cannot then be run through the PHP parser. you
> could possibly write the PHP out to a new file (with the proper extension
> for the parser) and then send a location header() that sends the user to
> execute that page. i've never done this, so i can't vouch for it's
> workability, but there's nothing wrong with the idea in concept- at least
so
> far as i can see....
>
> --
> :: Andrew Rush :: Lead Systems Developer :: MaineToday.com ::
> **************************************************************************
> "Crippled but free, blind all the time, i was learning to see"
>
> - J. Garcia / R. Hunter
> **************************************************************************
>
> The views expressed herein are not necessarily those of my employer, but
> they let me have them anyway.