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...

    See [man]shell_exec/man. (This assumes that Perl is installed on the host where your PHP script is running.)

      Hello everyone,

      I have XAMPP installed on my system.
      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...

        Have you considered converting the perl script to php, it would seem easier.

        perl is supported by xampp, so that shouldn't be a problem. you will probably want to run it with shell_exec() . The shell_exec page tells you how to pass vars and retrive the output.

          See [man]shell_exec/man. (This assumes that Perl is installed on the host where your PHP script is running.)

            Write a Reply...