What do you think about havin php_stream_seek emulate other methods than forward seeking? We could do this by opening the stream again if something before current position has to be read...
That would allow using streams in every file based function! Of cause we should have flags that we are about to emulate and it should be a feature that can be turned off or even better one that can be enabled by function call.... marcus At 22:12 15.03.2002, Wez Furlong wrote: >Well, PHP finally supports fopen("https://...") :-) > >Please please please test the following things in particular >as I can't compile them or verify them here: > >hyperwave: >hw_new_document_from_file > >gd: >functions that create images from files. >In particular, try creating from "wrapped" files over >http, ftp etc. > >pfsockopen() >copy() - particularly with "wrapped" source/dest >gzopen (and friends) >gzfile > >If you have a system where HAVE_FLUSHIO is important, >please let me know if plain files work correctly when >switching between read and write. > >If you have things in Pear/PECL or a third party >extension that used the old FP_XXX or php_file_le_fopen(), >please contact me and I can help you update your code for >streams (it's easy). > >I'll check back in a couple of hours to see if anyone >has found show stoppers; otherwise I'll be signing off >till the morning (it is Friday after all!) > >--Wez. > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php