PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 669 All time: 4,829 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
Age: 36
All time rank: 225623 in Egypt Egypt
Week rank: 321 Up7 in Egypt Egypt Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:669
This week:0
All time:4,829
This week:455Up