if you just want to run the script
system("/path/to/whatever");
if you want its output 
fopen ("<server-name>/cgi-bin/whatever.cgi");

if you want the perl script to set variables or anything you'll have to
write something that reads the output from fopen and assigns them.  Or if
you trust this server (dont do this over the internet) you can make the cgi
output php code to set arrays and variables and such and then just eval ()
everything.  - Russ

-----Original Message-----
From: Ajuco [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 4:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] include a perl script


hi!

Is there a way to 'include' a perl script in a php page??
example..
I have a php page that executes another php script (poll).. to make that I
used the <? include....> command.. Is there a command or something that
makes that php page execute a perl script (.cgi) ??

thanks!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to