Hey Dave,
IIRC the value 0 is equivalent to FALSE in PHP, and the return value of
system is the one provided by the OS. If you run the java command from the
command line and immediately follow up with "echo $?" you'll see that the OS
reports a return value of 0 on success (unless you've explicitl
On Sun, 3 Jan 2010, Dave Coventry wrote:
The command 'java -jar /home/dave/web/drupal/java/dist/emp.jar' works
fine on the command line.
Could it simply be a path issue? i.e. the "java" command is on your path
when run from the command line, but not when run from php?
Try giving the absolut
Hello Dave,
Like David, I am not an expert with PHP - in fact, I have never used it
before - but I wanted to ask whether you have been able to isolate the
problem to just the POI libraries? What happens if, for instance, you create
a very simple class that counts from one to one hundred and write
Dave,
I appreciate the input.
The command 'java -jar /home/dave/web/drupal/java/dist/emp.jar' works
fine on the command line.
I am using the Java HSSF code to upload spreadsheets into a database via PHP.
Has anyone attempted anything similar?
Other external functions are called from the same
Check your java classpath. Is poi properly included? I think that this
is the true issue guessing from your example.
Of course, I am NOT a php person, but I guess
system("set");
or
system("setenv");
Regards,
Dave
On Jan 2, 2010, at 9:49 PM, Dave Coventry wrote:
I can't run my Java HSSF a