Posted by zach on 07/28/07 00:07
wombat wrote:
> Is there any way to run/execute a perl.pl file with PHP (other than HTML
> FORM)? I've tried using include & require but it only prints the raw
> source of the perl file. Thanks for any help anyone can provide.
I got all these with the first search on google using this search query:
http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=ubZ&q=php+execute+perl+script&btnG=Search
Don't know if these will work but I got these from the search above
check these out:
http://us.php.net/function.exec
http://us.php.net/function.shell_exec
http://www.wellho.net/mouth/493_Running-a-Perl-script-within-a-PHP-page.html
To execute perl scripts from inside PHP-scripted pages, use the
following code:
<?php virtual ("../path/to/script.cgi"); ?>
Navigation:
[Reply to this message]
|