Hi.
I'm trying to execute a shell script with PHP, and display the output through my website.
Is it possible? Thank you very much.
How to execute a shell script and diplay the output
Moderator: General Moderators
Code: Select all
echo shell_exec('/path/to/executable/script');
// or..
echo `/path/to/executable/script`;