note 4343 modified in virtual by ronabop
| From: | ronabop@php.net | Date: | Fri, 24 Nov 2000 05:51:22 +0000 |
| Subject: | note 4343 modified in virtual by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8046@lists.php.net to get a copy of this message | ||
Ok, here's my solution for win32 based Servers... It would probaly be better with a random
filename generater but i'll leave that up to you..
$data = implode("\n", file("http://www.url.com/cgi-bin/script.cgi"));
$fp = fopen( "$tempdir/$tempfile","w");
fwrite( $fp, "$data");
fclose( $fp );
include ("$tempdir/$tempfile");
Hope that help anyone on NT, it's a bit slower than virtual() but it works... now only if they
could implement virtual() in the win32 version
http://www.php.net/manual/function.virtual.php