[thelist] PHP Help - Please

Alan McCoy a.r.mccoy at larc.nasa.gov
Tue Nov 28 09:05:58 CST 2000


If the results are to be dropped into place on the page, you can do it like
so:

<? virtual('cgi-bin/myscript.cgi'); ?>

Or you could do a thingy like this:

<?
$foo = `perl perscript.pl > /dev/null`;
print($foo);
?>

...or a variation of either.

HTH,

Alan

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of Jay Fitzgerald
> Sent: Tuesday, November 28, 2000 9:42 AM
> To: thelist at lists.evolt.org
> Subject: [thelist] PHP Help - Please
>
>
> Does anyoneknow how to execute cgi scripts in PHP? I have tried exec(),
> passthu(), and system() but none have worked so far.. here is what i
> have right now -
>
> <? exec('perl perscript.pl > /dev/null'); ?>
>
> --
> Jay Fitzgerald - Web Development/Sales
> =============================================
> Bayou Internet
> http://www.bayou.com
> Mississippi Internet
> http://www.mississippi.net
> Vicksburg Online
> http://www.vicksburg.com
> Bama Online
> http://www.bamaonline.net
> =============================================
> ICQ: 38823829      Phone: 888-302-2968       Fax: 877-329-2296
>
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list