Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of zandor  >  CFile  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Short description of all contents
Class: CFile
Read and write values to binary files
Author: By
Last change:
Date: 3 years ago
Size: 728 bytes
 

Contents

Class file image Download
CFILE (PHP)

I needed something that worked fine, almost like the class CFile of MFC in Visual C++.
I coded this class which basically does the same, even if not with the same efficiency, due to PHP limitations anyway.
Developers can read and write data in both text and binary mode, so that they can store strings, numerical variables (integer and float) and arrays. They can also move the file pointer back and forth for anyneed.

The attached examples cover simple file management, reading of file header structures (jpeg and bmp, here). Although they are rather n.aive,
the goal of these examples is just to show the features of this class.
Developers would benefit of this class for its potential functionalities.