Login   Register  
PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 661 All time: 4,410 This week: 1,518Up
Version License Categories  
shref_imgindb 1.0Free for non-commercial...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: 26
All time rank: Not yet ranked
Week rank: 176325 in 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:661All time:4,410
 This week:0This week:1,518Up