I have two existing scripts that work great as people.
The main script is Perl. I want to execute a PHP script with a sub in a Perl script.
Typically, a PHP script is run through a direct URL, for example. http://me.com/phpscript.php?foo=bar
I would just like to call a PHP script from Perl and pass foo var, so I donβt have to delete the PHP script from my browser to process the data.
I'm not talented enough to rewrite a PHP script in Perl.
I tried exec ("http://me.com/phpscript.php?foo=bar"); and turn on the system to no avail.
I read and searched, but found only solutions for calling Perl from PHP.
I really appreciate the great leadership, which I am always wonderful here.
source
share