php file manager одним файлом
Файловые менеджеры на PHP
Представляю список всех мне известных файловых менеджеров которые можно использовать при веб разработке. Естественно что данные менеджеры состоят из мускулистого PHP и ядреного JavaScript.
elFinder — Достаточно известный и популярный в веб среде веб менеджер файлов который написан на PHP и JavaScript который представляет огромный перечень возможностей в разработке веб решений.
Видео обзор:
sjFilemanager — достаточно не плохой файловый менеджер AJAX + PHP. Стоит отметить его технические детали а так же разработчиков словянских кровей. Файл менеджер можно встроить как в обычный редактор так и в TinyMCE. Все фишки данного менеджера осуществлены благодаря AJAX!
Pydio.com — Предста безопасный общий доступ к файлам для бизнеса в веб режиме. Реализует всестороннюю синхронизацию для коллектива работающего над бизнес проектом. Имеет открытый исходный код может быть развернут на личном (или удаленном) хостинге или в частном облаке. Если вам необходима установка pydio на linux следуйте данной инструкции.
Видео презентация:
PHP файловые менеджеры на GITHUB
simogeo — Filemanager — Файловый менеджер с открытым исходным кодом выпущен под лицензией MIT, является альтернативой elfinder или CKFinder менеджерам.
Файловый менеджер на PHP, с правами, контролем версий и AJAX-ом
Особенности файлового менеджера:
— Можно задавать права доступа на файлы и директории. Права двух типов: есть доступ или нет доступа. Файлы хранятся в недоступной для скачивания по прямой ссылке папке. Скачивание файла происходит с предварительной проверкой пользователя и прав доступа на файл. Любой пользователь файлового менеджера может обладать правами администратора, что указывается при добавлении нового или редактировании существующего пользователя. Администратор может видеть все, в том числе «удалённые» файлы.
— Контроль версий каждого файла. После загрузки файла он сохраняется с именем, которое не позволяет перезаписать существующие файлы, а его «оригинальное» имя сохраняется в БД. Данный подход разрешает хранить разные состояния файлов.
— Автоматическое создание превью загружаемых изображений.
— Файл в менеджере можно сделать доступным для скачивания
— GPL, код доступен на github
FM создан без использования фреймворков. Это довольно обычное MVC приложение, где основные действия контроллера могут быть вызваны AJAX запросом, например:
— при инициализации приложения вызывается AJAX контроллер /ajax/fm/?action=files, функция files() в зависимости от текущей директории, которая хранится в сессии, получает список файлов и директорий.
— клик на файле делает активным DIV с а в зависимости от выбранной вкладки диалогового окна получает необходимые данные для текущего файла.
Пройдя по ссылке можно ознакомиться с основами функционирования приложения.
Для загрузки файлов используется Ajax Upload. Он поддерживает мультизагрузку и позволяет загружать файлы, переместив их drag&drop-ом на кнопку «Загрузка файлов». Главный недостаток: Ajax Upload не работает на планшетных (Android) устройствах.
Установка:
1) Скачать код файлового менеджера github
2) Создать базу данных и пользователя для доступа к базе. Дамп хранится в папке /sql/fm.sql
3) Распаковать исходный код системы в любую директорию веб-сервера
4) Выставить права на запись для необходимых директорий:
/cache/ /upload/ /upload/_thumb/
5) Отредактировать файл /system/config.ini:
; включить кеширование, ускоряет выполнение php скриптов
twig_cache = false
; пути, используемые системой, менять не нужно
[path]
application = «/system/»
library = «/system/library/»
controller = «/system/Controller/»
templates = «/system/View/templates/»
layouts = «/system/View/layouts/»
cache = «/cache»
upload = «upload/»
[fm]
; максимальный размер загружаемого файла в байтах
sizeLimit = 10485760
; цвет фона для создаваемых превьюшек и качество сжатия JPEG
rgb = 0xFFFFFF
quality = 100
; параметры для доступа к БД
; т.к. используется PDO можно использовать другие базы
[db]
adapter = «mysql»
host = «localhost»
username = «»
password = «»
dbname = «»
6) Открыть в браузере файловый менеджер. Для входа filemanager/filemanager
Логин/Пароль пользователя с правами администратора
Файл менеджер PHP одним файлом
Очень нужная и удобная вещь phpFileManager. Это полноценный инструмент для управления файловой системой из одного файла с множеством функций и поддержкой русского языка.
Это инструмент, предназначенный для быстрого управления файлами, а также для проверки конфигурации и безопасности PHP-сервера.
Единственный PHP-файл в котором содержится весь код файлового менеджера может быть загружен на хостинг с любым именем и будет доступен по любому URL. Так же на файловый менеджер можно установить пароль.
Функции файлового менеджера:
В этом руководстве создадим чат-бота ВКонтакте, которого можно добавить не только в сообщения группы, но и в групповую беседу. Бот может прослушивать все сообщения в беседе, и если в каком-то из них будет содержаться определенное слово, фраза или часть текста, Читать далее
У инстраграма нет готового виджета для вывода постов на сайте. В прошлой статье мы рассматривали как создать Instagram виджет для сайта с помощью конструктора. Это самый простой и быстрый способ, и на мой взгляд самый лучший. Единственный его минус, как Читать далее
Абсолютно любой предмет из нашей жизни мы можем описать по его характеристикам и состоянию, а так же воздействовать на это состояние. Например, ваш автомобиль имеет определенный цвет, марку, двигатель и т.д. Кроме того он может ехать, стоять, набирать или сбавлять Читать далее
Удалить значение из массива по ключу на PHP довольно простая задача, но вот когда необходимо удалить элемент массива именно по значению, то тут возникают небольшие сложности. Вроде бы банальная задача, но придется воспользоваться небольшой хитростью. В этой статье рассмотрим как Читать далее
В этой статье рассмотрим как создать простого чат-бота для Viber, который будет принимать и отправлять сообщения в чат. Шаг 1 Итак, для начала необходимо зарегистрироваться в сервисе Viber Admin Panel по этой ссылке. Шаг 2 Создаём бота. Для этого заполняем Читать далее
Php file manager одним файлом
File Manager and Editor
A fantastic mobile-friendly, web-based file manager, code editor, and file previewer. Can be used to create HTML/CSS/Javascript embeds for websites, a web-based file sharing portal, and much more. Choose from a MIT or LGPL license.
If you use this project, don’t forget to donate to support its development!
Download or clone the latest software release. Transfer the files to a web server directory of your choosing.
Visit ‘install.php’ with a web browser to start the installer. The installer provides a guided interface for setting up the application. While File Manager does come with a basic login system, it is recommended that you use your own existing login system by creating an appropriate ‘index_hook.php’ file to control user access to the tool. After installation completes, don’t forget to secure the main directory on the server.
If users won’t need the tabbed interface to edit or preview files, set the «Use Tabbed Editor/Viewer» feature to «No» during installation (or modify the ‘config.php’ file later). Doing so will make the Folder and File Explorer widget instance fill the entire space and disable opening of files in the tabbed editor/previewer as well as disable loading of the ACE editor components. Useful for when file management is needed but not tabbed editing/previewing.
That’s it! You now have a fast, lightweight PHP and Javascript-based file manager and code editor.
This section provides an overview of how to get started embedding this software into another software product. One possible reason for wanting to embed this software might be to create isolated, per-user directory storage for managing files within an existing interface but the user doesn’t need to always load this software (e.g. an iframe that gets injected into the existing DOM when a user activates a hyperlink).
Obviously, server-side code should always validate all incoming requests such that the user actually has access to a resource.
About
A fantastic mobile-friendly, web-based file manager, code editor, and file previewer for the web. Can be used to create HTML/CSS/Javascript embeds for websites, a web-based file sharing portal, and much more. MIT or LGPL, your choice.
Веб файловые менеджеры
phpFileManager
Минималистичный интерфейс, зато всего один файл.
Из видимых недостатков не нашел разархивирования файлов.
HTTP Commander
AjaXplorer
Предварительный просмотр и проигрывание мультимедийных файлов непосредственно на сайте. Документы и изображения могут быть изменены прямо в Интернете.
Cloud Commander
Двухпанельный, работает в браузере, оснащён редактором (с подсветкой синтаксиса) и консолью, состоит из клиента и сервера, а написан на JavaScript/Node.js.
MooTools FileManager
Возможности:
Позволяет просматривать файлы и папки на сервере
Позволяет переименовывать, удалять, перемещать (Drag&Drop), копировать и скачивать файлы
Позволяет просматривать превью изображений, текстовых файлов, сжатых файлов или аудио.
Имеет привлекательный интерфейс пользователя.
Загрузка файлов через FancyUpload (интегрированная функция)
Возможность автоматического изменения размера больших изображения при загрузке
PAFM дает пользователю полный контроль над файлами.Редактирование исходного кода может быть сделано с помощью CodePress с подсветкой синтаксиса.
QuiXplorer
В многопользовательском режиме:
Имеются версии QuiXplorer на английском, голландском, немецком, испанском, французском и русском языках.
BytesFall Explorer
BytesFall является доступным через сеть диспетчером файлов, написанным на PHP и JavaScript.
NavPHP
PHP navigator with its unique XP style navigation is written in PHP and AJAX. The main features include multiuser support, Gzip & Deflate webpage, built in HTML and code editor as well as Extract Zip. This web based file manager is completely free.
Key Features: File or Folder can be downloaded as Zip, Zip archive can be extracted to current folder, Key board shortcuts.
iDC File Manager
The iDC file manager is a multiuser file sharing system which can be installed either on Linux or Windows web server. Every format of digital media such as documents, images, audio, video, publishing layout, presentations and PDF files can be saved, shared and managed. The application is driven by MySQL Database.
Key Feature: Hotlink Function with Social Network Support, Monitor User Activity with Built-In Log Viewer. It’s Available in 8 Languages.
FileMan
Relay
The Relay is released under GPL. It is AJAX enabled, also features improved UI and performance, which is ideal for large file sets. Files and directories uploaded into file stores from other means can also be easily handled.
Key Feature: Drag-and-drop files and folders, dynamic loading file structure.
phpXplorer
phpXplorer, as the name suggests is written in PHP. This is a free open source file management system. The file types, property sheets, views and themes are built on its own by modular design. The permission manager restricts the user access to multiple users in a detailed manner.
Key Feature: It has got dialogs for editing HTML, PHP, image, Apache, compressed and email files.
DesktopBrowser
This is a web application which uses SharpKit to maintain client-side code in C#. It is a simple free and open-source file browser project, maintained at Google Code. Local and network drives can be easily browsed. Requirements: NET 4 Framework, IIS Express.
OwnCloud
Getting your own data stored in an open source community had never been so easy and reliable using this file manager. By using this web based file manager you decide with whom to share which information and to what extent. The data can be accessed through web browsers, iOS, Android devices and your desktop and laptop. It supports MS Windows platform.
Key Feature: File sharing, User management, web based file upload and download using a Javascript based file browser.
Seafile
It’s an advanced free to use open source cloud storage through which you can access and store your own data and share it with groups and teams as and when you desire. It can be operated with just about any advanced mobile device, internet browser, desktop or laptop. It is supported by all popular platforms.
PhpFileManager
It is an advanced file management system and that converts information into a single file. Supported by Linux and Windows, you can access your data and share it with your team with just about any mobile or computer devices. You can copy, move, delete, remain and a host of other things with this advanced file manager.
Limpid Browser
It is an open source PHP and MySQL application though which you can store and share your information from just about any server and advanced mobile and computer devices. Supported by Windows and other well known operating system, the encryption ensures that your confidential data is protected by a security code.
Mollify
This is an easy to use file management system that can be operated upon and used with the help of any web server; it’s endowed with flexible privacy policy that ensures that the data can be accessed according to your terms and condition, with different types of permissions granted to different users.
Encode Explorer
It is a file browser written in PHP and it is free for anyone who wants to create and manage files in the cloud environment. The application is loaded with user friendly features through which you can manage all the related functions associated with file management. It can be accessed and operated on Android and other mobile applications, desktop and laptop.
PHPfileNavigator
It is a PHP application which enables you to manage files in a cloud environment and share it with your team or community. Supported by Linux, Windows and smartphone applications, the software is easy to install and use. The encryption ensures that the confidentiality of the information is maintained.
Ajax File Manager
It is a state-of-the-art web file management system that manages your file as effectively as any operating system does. Runs on Windows XP and other well known operating systems. The encryption policy ensures that the data can only be accessed by different systems with permissions issued to different users. It is loaded with a recycle bin feature and fast interaction is possible via AJAX.
KCFinder
It is a well equipped free file browser system and works with Apache 2 web server; it’s also compatible with other well known servers. It integrates PNG watermark support as well as HTML5 drag and drop features. Multiple files can be uploaded and accessed with any advanced mobile, desktop or laptop.
Net2ftp
Monsta
It is an open source file management system that puts FTP file sharing right in your browser. It includes PHP and Ajax source code and is scripted for all types of programmers. Supported by Linux and Windows operating system, you can manage your important documents effectively, it also features multi-language support.
It is a web based file manager written in PHP though which you can upload and download your files, copy and rename it with ease. Works on UNIX operating system. It does not require MySQL, but you can implement one if you require. It carries the GPL license and comprises of an advanced file finder.
Kinky File Explorer
It is a totally free cold fusion based file exploration system that helps you to share your files and information through a read-only directory. It helps you to impart relevant information to your group or community without offering the right for snooping. It integrates an Ajax file loading system.
Limbo Media
A very impressive open source file management software that comes with a beautiful user interface and user management with access control. The tool provides easy ways to manage different file types including images, videos and documents.