📜 ⬆️ ⬇️

PHP Terminal - Console via WEB

Php terminal
Do you often have situations where there is no SSH access, but do you need to perform some actions on a client project, be it chmod or just archiving? I have been.
For example, assigning rights to files via FTP, especially when there are a lot of files and attachments, is not a pleasant job.
In order to optimize my work, I started looking for a solution that would allow to execute system commands conveniently and quickly.

There was an option to write my application, but the search gave successful results. Welcome PHP Terminal 0.3.0!
PHP Terminal 1

The main purpose is to execute system commands without ssh access using standard php functions for this purpose.

Benefits:


Search in command history (as in the native Linux terminal, using the up / down buttons)
HTTP authorization feature
4 terminal colors
4 terminal sizes
3 files, totaling only 24 kilobytes (the program itself, styles, and javascript)
Distributed under the GNU GPL v2 license.
PHP Terminal 2
')

Installation:


Download source codes from sourceforge.net/projects/phpterm
We unpack on the server within document root
We edit the file phpterm.php, where we enter the data for authorization into the $ passwd array (as login => password)
Open the URL with the browser (http: //path_to_host/phpterm.php) and enjoy

Perhaps this small and, of course, useful software will help someone in their daily work / life. It really helped me.

Post in a personal blog: http://blog.try4tune.ru/2008/10/php-terminal-web-console/

Source: https://habr.com/ru/post/24360/


All Articles