Silver-0-surfer
Well-Known Member
Hi
So I made a java app that will create a PDF for me based on some criteria that gets passed to it via the CLI.
so normally i run
java pdf_create some random info here
and this creates a PDF for me. What I need to do is be able to call that from a webpage, running PHP.
I have tried EVERYTHING,!
exec('java pdf_create some random info here');
passthu('java pdf_create some random info here');
echo `java pdf_create some random info here`;
system('java pdf_create some random info here');
but none of it works. Is it possible to do this? I have set the permissions on the file to 777 but still no luck.
So I made a java app that will create a PDF for me based on some criteria that gets passed to it via the CLI.
so normally i run
java pdf_create some random info here
and this creates a PDF for me. What I need to do is be able to call that from a webpage, running PHP.
I have tried EVERYTHING,!
exec('java pdf_create some random info here');
passthu('java pdf_create some random info here');
echo `java pdf_create some random info here`;
system('java pdf_create some random info here');
but none of it works. Is it possible to do this? I have set the permissions on the file to 777 but still no luck.