It was tested in Opera, Firefox, IE 7 and 8, Chrome and Safari.
In the console.php file, set the PATH_ROOT constant to the root directory tor the directory to act as the root directory for the console.
Also set the HIDE_ROOT to true or false. If it is true, the client doesn't see the whole path, but only the part after PATH_ROOT.
For exmaple, if the PATH_ROOT is /home/softpedia/ and HIDE_ROOT is true, when the client does "ls /", this is translated to "ls /home/softpedia/" and when the client is in the /home/softpedia/subdir/ directory and does "pwd", it will see "/subdir". This is a way for the clients to never see the real path.
The developer can easilly add extra commands to the console, just by adding new functions to the console.php file.
All functions have the format execute_[command].
For example, the function that executes the cd command is execute_cd().
The parameters are automatically accessible with arg0, arg1, arg2 and so on.
· vi (this is not really VI, just a simple text editor, use CTRL + S to save, CTRL + W to close without saving)
· clear (to clear the screen)
· use up en down keys to scroll through the command history
· exit to log off