I am trying to copy the contents of an array generated from a Perl script into an array on a PHP page. Is this possible?
Current code in PHP file:
$campaigns_array[][] = shell_exec('recent_campaigns.pl $companyID');
recent_campaigns.pl runs some mySQL queries and creates an array from it. I don’t know how to get that array from the Perl script.
Thanks in advance.
The reply is either:
Being more precise is hard, as you are not providing an output sample and are not saying if you have control on the script output, etc.