Re: Perl > PHP
| From: | Leif K-Brooks | Date: | Sun, 05 Jan 2003 01:04:51 +0000 |
| Subject: | Re: Perl > PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130275@lists.php.net to get a copy of this message | ||
Not good at perl, but you need to do:
<?php exec('perl.pl'); ?>
Sam wrote:
I don't know what the heck this is but it works: #!/usr/bin/perl $ENV{LD_LIBRARY_PATH} .=":.:..:../lib"; $ENV{CLASSPATH} .= ":Verisign.jar:."; print-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.javac PFProJava.java; printjava PFProJava test-payflow.verisignscks.com; How can it be done with PHP? OR run the perl script from a PHP script. <? exec(perl.pl) ?> didn't work. Thanks, Sam