Re: header() problems with IE5 file download

From: Date: Wed, 12 Jul 2000 22:01:29 +0000
Subject: Re: header() problems with IE5 file download
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6300@lists.php.net to get a copy of this message
In article <396AD525.E108199B@projectx.com.au>, cadaver@projectx.com.au (Sam Reid) wrote: > On Win98se/IE5.0a the browser starts downloading the file, displays the > progress meter, but dies at around 75% with the error "the server > returned an invalid or unrecognised response". Do you have "/path/to/download.php/Skinvision.zip?files=whatever..." as the URL? I think some verions of IE want .zip as the last thing in the path to know how to handle the download... > On Win98se/IE5.0 the browser appears to download the zip file > successfully (and the files it contains can be unzipped and viewed) > however once transfer is complete IE retains it's hourglass+arrow > pointer, and unless the user presses 'Stop' the browser eventually dies. Are you 100% sure strlen() is giving the correct number for the bytes? Maybe some sort of NUL (\0) in the string is throwing strlen off, so the size you are giving is just plain wrong... IE *would* be goofy enough to assume the Content-length had to be correct or it could just up and die. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#6300) next »