A simple and efficient file collection system for homework submission and file gathering.
- Create Collection Page
- Set title, collector, and deadline
- Customize announcement content and title
- Restrict file formats (customizable)
- Auto-generate 4-digit random short links
- Management Functions
- View all collection pages
- One-click copy/open collection links
- View submission details
- Download all files
- Delete collection pages
- Modify collection information
- Information Display
- Clear title and collector information
- Deadline countdown
- Formatted announcement content
- Supported file format tips
- File Submission
- Name validation
- File format validation
- Real-time upload feedback
- Support for same-name file replacement
- User Experience
- Modal window prompts
- Elegant animations
- Friendly error messages
- Complete mobile adaptation
-
Frontend
- HTML5
- CSS3
- JavaScript (Vanilla)
- Noto Sans SC Font
-
Backend
- PHP 7.0+
- JSON Data Storage
- File System Management
├── admin.php # Admin dashboard
├── index.php # File collection page
├── upload.php # File upload handler
├── details.php # Submission details page
├── style.css # Global styles
├── data.json # Data storage
└── uploads/ # Upload directory
└── {collection_id}/ # Files for each collection
- Ensure server supports PHP 7.0+
- Upload all files to web directory
- Make sure uploads directory is writable
- Access admin.php to start using
- This project is still in demo stage
- Security assessment recommended before production use
- Can be modified and extended according to needs
- Currently uses JSON file storage, database recommended for large-scale use
- User authentication system not yet implemented
- Add user authentication system
- Support database storage
- Batch download functionality
- File preview feature
- More customization options
This project is for learning and research purposes only.
Suggestions and improvements are welcome!
🌟 If you're interested in this project, feel free to explore and improve it!