A simple PHP web app that lets you browse and manage your PC's folders (Documents, Downloads, Music, Photos, Videos, Apps) from a browser — like a mini personal file manager / media gallery.
- Browse folders with breadcrumb navigation
- Image & video preview (lightbox viewer with keyboard controls)
- Search and filter by type (Images / Video / Documents / Folders)
- Copy, paste, rename, delete, and drag-and-drop move
- Dark / light theme toggle
- Secure file streaming with range-request (video seeking) support
PHP + HTML + CSS + Vanilla JS. No database, no framework.
index.php # Main UI + directory scanning
serve_file.php # Secure file streaming (images/videos/docs)
copy.php # Copy/paste handler
rename.php # Rename & move handler
delete.php # Delete handler
icon/adfd.png # Favicon
- Clone into your server's web root:
git clone https://github.com/siamhossanridoy/PC_To_Web.git
- Edit the folder paths in
index.php($rootDirectories) andserve_file.php(ALLOWED_ROOTS) to match your own PC's folders. - Run it via XAMPP/WAMP and open
http://localhost/PC_To_Web/in your browser.
No login/authentication is built in, and it can delete/rename real files on your PC. Use it only on your local machine or trusted local network — don't expose it to the public internet.
Siam Hossan Ridoy — @siamhossanridoy