Re: [PHP] How do I call a CGI script from PHP?

2002-08-26 Thread Adam Williams

exec() and system()

Adam

On Mon, 26 Aug 2002, Matthew wrote:

 I'm new to PHP and want to build a basic page. The one thing I cannot
 find any documentation on is the seemingly simplistic question of how to run
 a Perl script. I just want to execute a site-tracking script from my PHP
 page, nothing fancy. .In SSI, I just use the #exec cgi= line--is there an
 analogous command in PHP?
 Thank you for your help!

 Matthew






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




Re: [PHP] How do I call a CGI script from PHP?

2002-08-26 Thread Bas Jobsen

 PHP page, nothing fancy. .In SSI, I just use the #exec cgi= line--is

$test = `path_to_your_cgi 21`;

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