Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP terminal emulator [closed]

I want to program a "Terminal" emulator in php and jquery or ajax.

My intention it's not to execute real terminal commands, I want to make commands like echo and retrieve me the results to an TextArea, or make commands like newuser and open me a jquery dialog or a webpage. Is there any way to do develop this thing?

The thing i want is a text area where i get the responses and a text input field where i put the commands. The function that needs to do is make a call to a php file where it manages the data input on the text field, compare and do some actions, like a simple echo or a dice rolling. I don't want to manage the system. Thanks to all

like image 697
Brookete Avatar asked Feb 03 '11 10:02

Brookete


1 Answers

There are several remote (ajax) shells, which emulate a shell and forward the commands to to the real shell on the server via HTTP(S):

  • http://antony.lesuisse.org/software/ajaxterm/
  • http://www.squarefree.com/shell/shell.html
  • http://en.wikipedia.org/wiki/Web-based_SSH
like image 58
powtac Avatar answered Sep 20 '22 23:09

powtac