Re: Re: Virtual Filesystem

From: Date: Sat, 28 Sep 2002 15:13:20 +0000
Subject: Re: Re: Virtual Filesystem
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9647@lists.php.net to get a copy of this message
Quoting Wez Furlong <wez@php.net>: > PHP 4.3 will (as of a little bit later today) allow you to create your > own classes to handle directories using the same mechanism as the > user-space streams. That means that you will be able to write code a > little bit like this, that uses regular PHP opendir, readdir, stat etc. > filesystem functions: The biggest hole I see, which might be addressed elsewhere, is reading/writing of files - i.e., could I have code elsewhere that let me: $fp = fopen('sql://path/to/file') ? It also doesen't leave much room for adding additional info/attributes/metadata. Definitely kind of cool, though. -chuck -- Charles Hagenbuch, <chuck@horde.org> "People ask me all the time what it will be like living without otters." - Google, thanks to Harpers

« previous php.pear.dev (#9647) next »