For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > December 2004 > executing a .cgi script (passing some arguments) through php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author executing a .cgi script (passing some arguments) through php
John

2004-12-22, 8:57 am

Has anyone tried that?
JupiterHost.Net

2004-12-22, 3:58 pm



John wrote:

> Has anyone tried that?


Hmm, No I haven't .
have you?

My question would be "why"? Its kind of like driving a king around in a
Pinto.

Why use crappy old PHP to execute Perl to do the real work? Just use
Perl instead of PHP .

Assuming you're being forced at gun point to do it that way, wouldn't a
PHP list be better able to teach you how to use PHP to execute cgi scripts?

HTH :)
Lee.M
John

2004-12-22, 3:58 pm


----- Original Message -----
From: "JupiterHost.Net" <mlists@jupiterhost.net>
To: "Perl Beginners" <beginners@perl.org>
Sent: Wednesday, December 22, 2004 5:32 PM
Subject: Re: executing a .cgi script (passing some arguments) through php


>
>
> John wrote:
>
>
> Hmm, No I haven't .
> have you?
>
> My question would be "why"? Its kind of like driving a king around in a
> Pinto.
>
> Why use crappy old PHP to execute Perl to do the real work? Just use
> Perl instead of PHP .
>
> Assuming you're being forced at gun point to do it that way, wouldn't a
> PHP list be better able to teach you how to use PHP to execute cgi

scripts?
>
> HTH :)
> Lee.M
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>


Exactly, i am forced to do that :)


JupiterHost.Net

2004-12-22, 9:00 pm


> Exactly, i am forced to do that :)


bummer :)

I'd say search on php.net for "system". Executing perl in PHP would be
the same as executing a C program or Python or Java, etc...

So its not really a Perl question
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com