Hi,
I'm having a problem trying to run an executable program and getting output into a variable. The php safe-mode seems to be enabled and my code is such.
$return_var = shell_exec('/home/admin/programname');
Php config variables appear as:
Local Val Master Val
safe_mode On Off
safe_mode_exec_dir /home/admin /home/admin
safe_mode_gid Off Off
safe_mode_include_dir /home/admin /home/admin
The prgram is inside the /home/admin directory but I get this error:
"Warning: Cannot execute using backquotes in safe mode"
Any help would be greatly appreciated.
Thanks.