note 51187 deleted from ref.filesystem by felipe
| From: | felipe@php.net | Date: | Mon, 10 Dec 2007 17:59:49 +0000 |
| Subject: | note 51187 deleted from ref.filesystem by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133231@lists.php.net to get a copy of this message | ||
Note Submitter: hans at lintoo dot dk
----
PHP5 Object File
I couldn't find a File Object in PHP5, so I decided to create one myself.
When a function that needs a path requires the file it will output a temp file and return the path
to it, so that ie. parse_ini_file will work with the file object using:
<?php
parse_ini_file($myFile->requireFilePath());
?>
It is avaible for download at:
http://www.lintoo.dk/public/dbase_and_file_class.zip
Hans Duedal