rocknbil - 3:59 pm on Oct 11, 2011 (gmt 0)
writing the PHP content in PERL is not a valid option here.
Can you pull out the PHP code as a file of it's own and run a system or exec on it? So if you have
echo 'Hello World';
You'd put that in a file like hello.php and could do one of these in the perl script.
$response = `hello.php`;
If it's a remote php, just use a fully qualified URL. Another option, which shouldn't be necessary, is to cURL it.