]> granicus.if.org Git - php/commitdiff
Enable include("http://....") under win32 by downloading to a temporary
authorWez Furlong <wez@php.net>
Mon, 23 Sep 2002 19:07:38 +0000 (19:07 +0000)
committerWez Furlong <wez@php.net>
Mon, 23 Sep 2002 19:07:38 +0000 (19:07 +0000)
stream so that flex will get on nicely with the content.
# untested; theoretically it should work just fine.

main/php_streams.h

index 6c46ea6de1de17615150a35e0d6aeecae9388af2..15d2a3bb4ff1711a66d5671ea213f9997c2f9484 100755 (executable)
@@ -467,7 +467,7 @@ PHPAPI int _php_stream_cast(php_stream *stream, int castas, void **ret, int show
 #define STREAM_LOCATE_WRAPPERS_ONLY    64
 
 #ifdef PHP_WIN32
-# define IGNORE_URL_WIN IGNORE_URL
+# define IGNORE_URL_WIN STREAM_MUST_SEEK
 #else
 # define IGNORE_URL_WIN 0
 #endif