tinyfilemanager | file PHP file manager , browser and manage your files | File Utils library
kandi X-RAY | tinyfilemanager Summary
kandi X-RAY | tinyfilemanager Summary
The best web based PHP File Manager in single file, Manage your files efficiently and easily with tinyfilemanager
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Add directory recursively
- Create a new zip file .
- Saves the configuration file
- Unzip a file .
- Add a file or directory
tinyfilemanager Key Features
tinyfilemanager Examples and Code Snippets
Community Discussions
Trending Discussions on tinyfilemanager
QUESTION
I am trying to make a file manager with php , so when I open it in browser it would give a list of the current directory and the file would be clickable using the anchor tag in html (which I have done so far) , and when the file is clicked , it would open it in the text mode and shows whatever the source code inside the file is.
I am facing two problems which I couldn't figure out
Problem #1:
The first problem is that I want my file manager to read any source code weather its an image or pdf , just like the tinyfilemanager that I found here this master piece can read any file, even if you open an image with a notepad and insert some php code at the very end of the file it will read render that too, so here's my source code:
...ANSWER
Answered 2021-Nov-29 at 12:08With the grace and help of God , and suggestion from kikoSoftware in the Comments , the Problem is solved, there's a function name show_source(); ,which takes two arguement , the 2nd argument however is optional , hence we don't need to do filing or send a content-type response with the header() function , we can just use that function , source codes are below.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tinyfilemanager
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page