Execute commands via Apache/web interface - Raspberry Pi Forums
evening all,
have apache running webcam server have edited index page for. , i'm happy i'd know how can execute command via html page.
i'd add button named restart , make run command sudo reboot - how go doing this? attatched screen shot of have @ moment!

http://i.imgur.com/tmqv05w.jpg
*note i'd able click button , have raspberry pi reboot.
in advance.
have apache running webcam server have edited index page for. , i'm happy i'd know how can execute command via html page.
i'd add button named restart , make run command sudo reboot - how go doing this? attatched screen shot of have @ moment!
http://i.imgur.com/tmqv05w.jpg
*note i'd able click button , have raspberry pi reboot.
in advance.
<!--#exec cmd="/bin/echo 'hello' "-->
<!--#exec cgi="/mypath/www/myscript.cgi"-->
<!--#exec cgi="/mypath/www/myscript.cgi"-->
raspberrypi
Comments
Post a Comment