Page 1 of 1

Executing a Perl script from PHP file and storing its result

Posted: Tue Aug 25, 2009 6:56 am
by sheikhmdirfan
Hello everyone,

I have a php file from which i want to run a Perl script.

I would like to know how this can be done and is there any setting that i need to change or do i need to download and install any package or anything.
If yes then where i have to install that or where i have to keep the downloaded package.


Thanks in advance...

Re: Executing a Perl script from PHP file and storing its result

Posted: Tue Aug 25, 2009 7:33 am
by jackpf
I believe you can just run it with shell_exec(), or backticks.

Re: Executing a Perl script from PHP file and storing its result

Posted: Tue Aug 25, 2009 10:45 pm
by sheikhmdirfan
Can u show me an example please..

Re: Executing a Perl script from PHP file and storing its result

Posted: Wed Aug 26, 2009 6:31 am
by jackpf