Run .sh from php
i am new on PHP and need a little help.
created a new php page with some buttons and i need to run bash ( ./sh ) command when pressing the button. how i can do that
Please i will thank you if you write for me the code and not sending me to any tutorials Thanks
If you want someone to write code for you, go to one of the many sites on the web where you can pay someone to work for you. If you want to do it yourself, then you'll want to use something like PHP's shell_exec() function.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)