That doesn't make any sense and has nothing to do with Perl, since PHP will magically convert perl.pl to 'perl.pl'. I think you should do something like:
<?php exec('perl perl.pl'); ?> Assumming you are on an Unix enviroment and Perl is installed. "Leif K-Brooks" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 `javac PFProJava.java`; > >print `java 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 > > > > > > > > > > -- > 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. > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php