calling/running a .jar from inside php
| From: | George Pitcher | Date: | Fri, 28 Apr 2006 13:07:16 +0000 |
| Subject: | calling/running a .jar from inside php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-26871@lists.php.net to get a copy of this message | ||
Hi,
I use iText to split and join pdf files. I have this on my WinXP laptop and
get php to build a .bat file - which works fine. I also have iText on my
linux server and can call that from within my php script by doing:
$x = shell_exec("java -cp itext.jar com.lowagie.tools.concat_pdf blah
blah);
I now need to do something similar on my NT4-IIS4 server but exec() and
shell_exec() do not work on NT.
Is there another way to call/run the iText jar file on NT4?
Cheers
George, in Oxford