Login   Register  
PHP Classes
elePHPant
Icontem

CFile: Read and write values to binary files

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 (20)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-08-22 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 344 All time: 6,303 This week: 1,504Up
Version License PHP version Categories  
cfile 1.0GNU General Public Lice...4.0PHP 5, Files and Folders
Description Author  

This class can read and write values to binary files.

It can perform several types of operations to access files like: open, read, write, seek the position of access to the files, set the little or big endian mode of the values to be read or written, and read or write integer, floating point, strings or array values.

Picture of zandor
Name: zandor <contact>
Classes: 10 packages by
Country: Italy Italy
Age: 40
All time rank: 29011 in Italy Italy
Week rank: 601 Down25 in Italy Italy Down
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Accessible without login Image file andromeda.bmp Output example picture
Accessible without login Image file andromeda.jpg Output sample picture
Accessible without login Plain text file cfile.class.php Class whole package
Accessible without login HTML file docs.html Doc. class members documentation
Accessible without login Plain text file example01.php Example simply creating, opening and closing a file
Accessible without login Plain text file example02.php Example creating a file, then we write in a double and an integer values
Accessible without login Plain text file example03.php Example creating a file, then writing in a string
Accessible without login Plain text file example04.php Example reading some fields in the JPEG header
Accessible without login Plain text file example05.php Example reading some fields in the BITMAP (.BMP) header
Accessible without login Plain text file example06.php Example read some fields in the BITMAP (.BMP) header and we raster an RGB bitmap picture in a HTML table, pixel by pixel
Accessible without login Plain text file example07.php Example read some fields in the BITMAP (.BMP) header and we raster an RGB bitmap picture in a HTML table, pixel by pixel
Accessible without login Plain text file example08.php Example reading some fields in the PNG header
Accessible without login Plain text file example09.php Example reading some fields in the GIF header
Accessible without login Plain text file example10.php Example writing & reading an input array into a file
Accessible without login Plain text file example11.php Example using static functions
Accessible without login Image file flowers.bmp Output sample picture
Accessible without login Image file flowers.gif Data gif file
Accessible without login Image file flowers.indexed.png Data indexed png with palette
Accessible without login Plain text file readme.txt Doc. Short description of all contents
Accessible without login Image file waves.bmp Output sample picture

 Version Control Unique User Downloads Download Rankings  
 0%Total:344All time:6,303
 This week:0This week:1,504Up