Perl Script in PHP

Posted by Sev on Stack Overflow See other posts from Stack Overflow or by Sev
Published on 2010-03-19T04:56:01Z Indexed on 2010/03/19 5:01 UTC
Read the original article Hit count: 494

Filed under:
|

I have a perl script, which takes a query string parameter, connects to a database and displays data.

I'd like to include that script in a PHP file like so:

include('perlscript.pl?item=302');

Such that the perl script's response is displayed on the PHP/HTML page.

How can I do this?

© Stack Overflow or respective owner

Related posts about perl

Related posts about php