RE: [PHP] include a perl script

From: Date: Mon, 09 Jul 2001 23:28:32 +0000
Subject: RE: [PHP] include a perl script
Groups: php.general 
Request: Send a blank email to php-general+get-57035@lists.php.net to get a copy of this message
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:ajuco@tfz.net] Sent: Monday, July 09, 2001 4:33 PM To: php-general@lists.php.net 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#57035) next »