[PHP-WIN] PHP 4.06 + IIS5 + header download

2001-12-11 Thread Bryant Brabson
I think that I had a similar problem recently while trying to return a Flash file. Here's how I did it: $fd = fopen ($filename, "rb"); $contents = fread ($fd, filesize ($filename)); header("Content-type: application/x-shockwave-flash"); echo $contents; fclose ($fd); -- PHP Windows Mailing Lis

[PHP-WIN] PHP 4.06 + IIS5 + header download

2001-12-11 Thread Ryan Marrs
I'm attempting to pass a .exe file, using the header call and fpassthru as shown in the example on the php.net site, and I noticed there is a note that says this will not work with 4.06 or newer. I have discovered this, or at least I think so, and am curious if we have a work around figured out y