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
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