PHP Classes

Shref Image in DB: Store and retrieve binary files in a MySQL table

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 669 All time: 4,832 This week: 455Up
Version License Categories
shref_imgindb 1.0Free for non-comm...Databases, Files and Folders
Description 

Author

This class can store and retrieve binary files in a MySQL database table.

The class can read the data from one file, convert the data to an ASCII representation and stores it in a given a given record of a MySQL table field.

The class can also do the opposite. It retrieves the data from a given MySQL database table field record, decodes it and outputs the decoded data.

Picture of Ahmed Shreef
Name: Ahmed Shreef <contact>
Classes: 2 packages by
Country: Egypt Egypt

  Files folder image Files (4)  
File Role Description
Accessible without login Plain text file adding.img.to.db.php Example example on adding image to db
Accessible without login Plain text file geting.image.from.db.php Example example on geting img from db
Accessible without login Image file linux.jpg Output image
Plain text file Shref.ImgInDb.class.php Class the class

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 Download Rankings  
 0%
Total:669
This week:0
All time:4,832
This week:455Up