I would like to execute a program on my server (/home/programs/listusers) and display the output on a webpage How can I do this? Thanks in advance
Check out [man]system/man and [man]exec/man
echo shell_exec( '/home/programs/listusers' );
Thanks
That returns the following error that I don't understand. Can you shed some light on this for me?
Warning: Cannot execute using backquotes in safe mode in /home/virtual/site12/fst/var/www/html/test.php on line 10
You cannot execute stuff when PHP is in safemode.
This is the first time I have come across this ... how do i get php out of safe mode?
php.ini