Posted by Hendri Kurniawan on 07/28/07 05:39
wombat wrote:
> In article <kpmdnV4xP94xFTfbnZ2dnUVZ_sytnZ2d@wavecable.com>,
> zach <wackzingo@gmail.com> wrote:
>
>> 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%3A
>> official&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"); ?>
>
> Yea saw all that with my own surfing. Nothing seems to work. That's why
> I decided to poke around here and see if anybody could help.
What are you talking about, exec command works just fine.
Hendri Kurniawan
[Back to original message]
|