Posted by Chung Leong on 05/19/06 21:02
Julien Biezemans wrote:
> I know, that's tricky. But I'm convinced that PHP could improve its
> stream wrappers support by supplying built-in wrapper classes. At the
> moment, being able to register a custom file:// scheme handler is almost
> of no use at all as there is now way to actually read and write the
> files within the custom wrapper.
Have you try stream_wrapper_restore()? The idea is to restore the
original wrapper, open the file, then unregister it again.
[Back to original message]
|