I want to run this part of PHP code.
$s=shell_exec("../sustav/zadatak/Generator_slika.exe ".$argumenti);
But I see that php doesn't run this command and didn't give me any error. So I wounder can I write ../ this in exec.
Thanks
Quoting the PHP Manual :
Note: When safe mode is enabled, you can only execute files within the safe_mode_exec_dir. For practical reasons, it is currently not allowed to have .. components in the path to the executable .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.