Re: Executing Perl from PHP
From: Abigail (abigail_at_abigail.nl)
Date: 11/22/03
- Next message: Ben Liddicott: "Re: Newbie Question: Best way to Extract Post Hashes?"
- Previous message: James Willmore: "Re: Protecting Source code of a perl script"
- In reply to: Dan Anderson: "Re: Executing Perl from PHP"
- Next in thread: James Willmore: "Re: Executing Perl from PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Nov 2003 09:53:34 GMT
Dan Anderson (dan@mathjunkies.com) wrote on MMMDCCXXXV September MCMXCIII
in <URL:news:m2n0ap5a79.fsf@syr-24-59-76-83.twcny.rr.com>:
)) Abigail <abigail@abigail.nl> writes:
))
)) > Dan Anderson (dan@mathjunkies.com) wrote on MMMDCCXXXIV September
)) > MCMXCIII in <URL:news:m23cchzbqe.fsf@syr-24-59-76-83.twcny.rr.com>:
)) > []
)) > [] I have a PHP frontend to a Perl script. Currently the PHP
)) > [] script opens up the Perl script and posts what to do, and the Perl
)) > [] script outputs the results, and that's how they communicate. I find
)) > [] it very inefficient though, and was curious, does anyone know of a way
)) > [] to run Perl from inside of PHP?
)) > []
)) > [] I know that PHP has a system call -- sort of like back ticks
)) > [] in perl -- but it can be disabled depending on the way PHP is set up.
)) > [] Anyone know another way?
)) >
)) >
)) > That would be PHP questions, now wouldn't they?
))
)) Well it seemed reasonable to assum that since perl is easily
)) integrated with other languages that somebody might have written a
)) module in CPAN or would know something about it.
CPAN has Perl modules, not PHP modules.
Abigail
--
map{${+chr}=chr}map{$_=>$_^ord$"}$=+$]..3*$=/2;
print "$J$u$s$t $a$n$o$t$h$e$r $P$e$r$l $H$a$c$k$e$r\n";
- Next message: Ben Liddicott: "Re: Newbie Question: Best way to Extract Post Hashes?"
- Previous message: James Willmore: "Re: Protecting Source code of a perl script"
- In reply to: Dan Anderson: "Re: Executing Perl from PHP"
- Next in thread: James Willmore: "Re: Executing Perl from PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|