using php to run commands<

liunx

Guest
i have a linux server
and i was wondering if it is possible to use php in a web page

so like if i hit a button it will exacute a command or a bash script

using linux btw

or is php not a good language for this?exec (<!-- m --><a class="postlink" href="http://nl3.php.net/manual/en/function.exec.php">http://nl3.php.net/manual/en/function.exec.php</a><!-- m -->) will allow oyu to execute a programfirst of all i can't get anything to work with it other then like ls or dir

i want to

kill -WINCH 134


all that does is changed the song in my mp3 server

anyways i can't get anything to worktry system()

I have read of somebody else doing this and they couldn't get it working either. you may be forced to use vb or C++ to do it.
 
Back
Top