ilto:dgcoven...@gmail.com]
Sent: Sunday, January 03, 2010 00:49
To: POI Users List
Subject: Can't execute Java from PHP
I can't run my Java HSSF app from PHP.
I've asked on PHP forums but everybody seems as perplexed as I.
Perhaps someone on here has had similar problems and either
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
I can't run my Java HSSF app from PHP.
I've asked on PHP forums but everybody seems as perplexed as I.
Perhaps someone on here has had similar problems and either knows the
answer or can suggest steps to take to debug it.
The following line in my PHP script fails. nothing prints out, it just
ret