PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2005-06-30 (11 years ago) RSS 2.0 feedNot enough user ratingsTotal: 665 All time: 4,633 This week: 1,173Up
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  
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:665
This week:0
All time:4,633
This week:1,173Up