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

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -