Originally Posted by ruchirarsm
I was trying to send Linux commands to a terminal and get the respective outputs via a web browser by integrating the terminal with php and ajax.(simply I'm expecting an online putty command line to my web page which will communicate with host via SSH). guys please help me with this
You can look up the system and exec functions in PHP; in your case, I'd look at the exec function. It will run whatever external command you want (along with command-line arguments), and return the output of that to a variable, which you can then echo to the screen.