Re: include("http://...") under win32

From: Date: Wed, 18 Sep 2002 20:06:41 +0000
Subject: Re: include("http://...") under win32
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-88390@lists.php.net to get a copy of this message
Ahhh. If that is the case, streams has a "must seek" flag that will cause the "includee" to be fully downloaded to a temporary file, and then return a handle to the temporary file. There might be a slight delay for streams opened in this way while the content is downloaded initially, but at least it would work (and would take very little effort to get it working). A better approach would be to fix the flexer and expand on the zend_filehandle idea so that it could operate using a callback to stream in data; this could also be useful for embedding ZE in applications that operate using virtual filesystems. Perhaps this should be a goal for ZE2/PHP 5? --Wez. On 18/09/02, "Markus Fischer" <mfischer@guru.josefine.at> wrote: > That would be ueberkewl. Last time I talked to Zeev, he said > there were problems with flex and using an fd for a socket on > win32 (ok, I could be completely wrong here, but this is what > I remember from it, Zeev? :) > > On Wed, Sep 18, 2002 at 03:51:40PM +0100, Wez Furlong wrote : > > I asked this same question a little while ago but got no response; > > Why don't we support using fopen wrappers for include/require under win32? > > > > I can't think of any reasons why we shouldn't, so why don't we enable > > this functionality in 4.3? (It's just a case of removing a flag from > > the fopen_for_zend (or similar name) function in main.c).

« previous php.dev (#88390) next »