我有一个代码
<?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;
}
?>
当我尝试运行它时,我看到一个错误
Warning: shell_exec() has been disabled for security reasons
与exec()相同
Warning: exec() has been disabled for security reasons
我的托管不能为我改变php.ini。
我怎么能运行jar?