RE: [PHP] <!--#exec cgi= equivalent in PHP
| From: | Scott Houseman | Date: | Tue, 20 Aug 2002 07:47:50 +0000 |
| Subject: | RE: [PHP] <!--#exec cgi= equivalent in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113299@lists.php.net to get a copy of this message | ||
Hi Peter.
I think fopen( "http://site/PATH_TO_PERLSCRIPT.CGI" )
should do the trick.
It will basically return the output of that script.
Hope this helps.
-Scott
-----Original Message-----
From: Peter Janett [mailto:phplist@newmediaone.com]
Sent: 20 August 2002 09:47
To: php-general@lists.php.net
Subject: [PHP] <!--#exec cgi= equivalent in PHP
I'm converting over some .shtml files that call an external Perl script with
the following format:
<!--#exec cgi= "PATH_TO_PERLSCRIPT.CGI" -->
I'm not sure what php function to use, as I'm returning the results of a
Perl script, not really a UNIX command.
Thanks,
Peter Janett
New Media One Web Services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22), MySQL 3.23.43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PostgreSQL coming soon!
http://www.newmediaone.net
webmaster@newmediaone.net
(303)828-9882
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php