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!

image
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"-->


raspberrypi



Comments

Popular posts from this blog

Qualcuno mi sa dire perchè non va questo protocollo seriale ?

Prezzemolo!

play video