Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Question about CGI scripts

Name: Anonymous 2010-12-14 6:33

Is it possible to have a cgi script run arbitrary commands? For example have the script run "aumix -v+5" to increase the volume on the machine it's running on.

The idea is to have a web page on a web sever running on my linux box that I can use to control the volume, play/pause music, etc. Then I could use my phone to navigate to that page and sort of use it as a remote for the PC. The phone doesn't have wifi so I can't just use ssh to log into my comp and do it that way.

Name: Anonymous 2010-12-14 16:17

>>16
How do I do that? I don't know html. I've just be copying example I've found on the web.

>>17
Is that php code to do what I want?

>>19
I do use mpd. I didn't know it had a web interface. I look for some. But I would still like to do this since I would like to do more then just control the music.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List