RE: [PHP]
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:[EMAIL PROTECTED]]
Sent: 20 August 2002 09:47
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
(303)828-9882



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to