PHP's exec()
function is turned off in my hosting server and it's not possible to change it (for security reasons). Are there alternatives for the exec()
function?
Here is more info about my problem:
What I want to do: I want to use .jar file in host server.
This is how it looks on my localhost
:
function generateReqXML() {
exec('"C:\Program Files\Java\jdk1.7.0_21\bin\java.exe"
-jar vaiisis.jar auth', $out);
}
This .jar
file help my system to generate XML code.
This code work perfect for my local machine, but its facing the problem when I am trying to use it in my host server.