Can anyone here help me how to call a Java Program using the PHP.
The PHP code should call a Java program that will extract all the data from the database, I know we can do this in PHP, but I want a more secure one so I want to make a prototype that will call the Java Program that get all the database from the database and make it available for download to the user. I have all my codes done but my last problem is I cant call my Java program even using the exec() and shell_exec() functions. Or I might do it wrong?
Here is my code to call the java program:
I already compiled the program.
Expand|Select|Wrap|Line Numbers
- exec("java JavaProgram");
Im using LAMP.
I will gladly appreciate any response from you guyz, I really need your help with this.
Thank you.