|Ratings||Unique User Downloads||Download Rankings|
|Not enough user ratings||Total: 241||All time: 7,945 This week: 159|
|hbf-with-pdo 1.0||The PHP License||5||PHP 5, Databases, Files and Folders|
This class can save and load binary files in databases using PDO.
file php class pdo
Store PDF as binary in Database and read it as PDF or HTML
Video upload script in php5.6
Play or download wav file from MySQL
Using PHP 7 Insert image in the MySQL database and display
What is the best PHP upload files to database class?
Handle Binary Files With PHP DATA OBJECT (HBF With PDO) is a very little package that allows users to handle files directly in and from their databases instead of save them in another folder on the disc.This package used a basic feature of PDO to insert in any database that supports transaction and BLOB data type,binary files and also to retrieve them once needed. The package is very little ,so i don't provide documentation but you can see a how to use example in the file testBFILEWPDO.php For bug reporting or other feel free to use the forum or contact me at firstname.lastname@example.org. PS: to handle the very large file (>2Mo) you will need to setup your PHP.ini file for max_execution_time upload_max_filesize post_max_size but also your database ini file for example mysql require in the my.ini file max_allowed_packet = 4000M//this value is just for example in you must choose your own value according to your app need you might also need to change the setting in the config.php file and also the default allowed extensions and the max upload size allowed in the BFile_WithPDO.php
|Version Control||Unique User Downloads||Download Rankings|