PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Can I run a command from a php file that will actually run on my server as if I were typing the same command in a linux terminal?
If I run this code from a remote browser the ls command outputs to the browser & the aplay doesn't do anything.
I want the ls to output to my servers terminal & also the beep too.
Is this possible ?
I've tried them both & I can't get them to work.
I've been searching the net for two solid days & I can't find the answer so if anyone has one I wish they would post a simple code to use the
"aplay" command because that is what I'm really trying to do. Have someone click on a page & have aplay play the beep.wav file on my computer (running Apache).