PHP Classes

How to Use a PHP Upload File Class that Can Insert into a Database the File Details Using the Package File Upload Validation and Storage Class: Process file uploads storing details in a database

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-01-28 (13 days ago) RSS 2.0 feedNot yet rated by the usersTotal: Not yet counted Not yet ranked
Version License PHP version Categories
file-upload-class 1.0.0BSD License5PHP 5, Databases, Files and Folders, V...
Description 

Author

This package can process file uploads storing details in a database.

It provides a class that can validate an uploaded file, check if its MIME type has one of the allowed MIME types, and if the file size is below a limit.

The class can also move the uploaded file to a given directory with a unique name and store the file details in a database table using PDO.

Picture of Milan Jankovic
  Performance   Level  
Name: Milan Jankovic <contact>
Classes: 1 package by
Country: Serbia Serbia

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file README.md Doc. Documentation
Plain text file upload.class.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads  
 100%
Total:0
This week:0