On Wed, 19 Mar 2008 21:14:57 +0100,
adam.waterfield@gmail.com
<adam.waterfield@gmail.comwrote:
Quote:
Quote:
>Try typing in the URL for the FLV via the proxy directly into each
>browsers' address bars and saving the resulting files. Check the MD5 sum
>of each and see if your script has introduced any differences between
>them.
>
Thanks for your response.
>
I have tried manually calling the proxy script with a file in the url
string. IE throws an error box window saying "Internet Explorer cannot
download script.php from localhost" and "Internet Explorer was not
able to open this Internet site - the site is either unavailable or
cannot be found. Try again later."
>
It would seem that IE doesn't like what this script is returning, yet
Firefox does? Seems odd. My first thoughts are the headers are playing
up - but yet with it been fine in FF it is a bit strange.
>
I was considering sticking these files in a DB opposed to a .htaccess
protected folder, but I don't fancy sticking 1.7gb of flv's into a DB!
(Especially when I would have the same issue, probably)
I could very well imagine your 'getRemoteFileSize' function fails (no HEAD
allowed for instance), resulting in incorrect headers, which FF tries to
ignore for you but MSIE barfs over. Check wether there's a valid return
from that function, and only then include a Content-Length header.
It would be somewhat simpler to determine if you could give us the result
of the exact headers being sent by your script.
--
Rik Wasmus