The only way I can think of is using something like shell_exec(" "); whereby you would grab the username + password provided in a basic web form, store them as variables, then execute the command and return the results to screen. A simple text box allows you enter your commands, then shell_exec returns the output. I don't know if it's a very efficient way of doing it though and I think you only have the last line returned to screen, so am not sure how it would handle directory listings or displaying a list of running processes, etc.
|