Hi,

I'm trying to do a bit of java execution as part of a php routine and the
following just doesn't work:

<?php
$cover = "c:\\javatest\\44438.pdf";
$cover_fin = "c:\\javatest\\44438_fin.pdf";
$cover_enc = "c:\\javatest\\44438_enc.pdf";
$docname = "c:\\javatest\\Lovejoy1.pdf";

$cmd = "java -cp C:\\j2sdk1.4.2_04\\jre\\lib\\itext.jar
com.lowagie.tools.concat_pdf ".$cover." ".$docname." ".$cover_fin;
$temp = passthru($cmd);
?>

Even adding tha path to 'java' doesn't help.

This command works fine from the command line. It adds two pdf files
together. If I can get this to work, I'll also add the encryption routine.

Any ideas


George in Oxford

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to