PHP Classes

File: readme.txt

Recommend this page to a friend!
  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: 10 years ago
Size: 728 bytes


Class file image Download

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.
For more information send a message to info at phpclasses dot org.