sheikhmdirfan Posted August 26, 2009 Share Posted August 26, 2009 Hello everyone, I have XAMPP installed on my windows xp system. I have a php file from which i want to run a Perl script and take the output of the perl script in a PHP variable and display it. 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. Please give an example if possible.. Any help will be highly appreciated.. Thanks in advance... Quote Link to comment Share on other sites More sharing options...
ignace Posted August 26, 2009 Share Posted August 26, 2009 $output = array(); exec('cd /path/to/perl/parser; perl perlfile.pl', $output); print_r($output); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.