run jar in php without shell_exec() and exec() -
i have code
<?php if (isset($_get['_escaped_fragment_'])) { $url = ' http://'.$_server['server_name'].'/'.escapeshellarg($_get['_escaped_fragment_']); $result = shell_exec('java -jar htmlunit.jar'.$url); echo $result; } ?>
when try run it, see error
warning: shell_exec() has been disabled security reasons
with exec() same
warning: exec() has been disabled security reasons
my hosting can't change php.ini me.
how can ran jar?
Comments
Post a Comment