Re: totally WEIRD bug? Firefox caching? [message #185350 is a reply to message #185345] |
Wed, 19 March 2014 23:43   |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 19/03/14 21:39, Gabe wrote:
> On 19/03/2014 17:25, The Natural Philosopher wrote:
>> I have TWO IDENTICAL PHP FILES.
>>
>> They are supposed to display an image got from a database.
>>
>> One does. The other does not.
>>
>> It persistently tells me the image is corrupted.
>>
>> I have even copied one file that works directly over the other. It still
>> doesn't work.
>>
>>
>> I have debugged it, got it to output the image to a file and read the
>> file successfully.
>>
>> Something on firefox now just assumes its corrupted and won't clear its
>> cache. I've shut down firefox, Ive changed its name I've clearded its
>> cache.
>>
>> WTF is going on??
>>
>>
>>
>
> Check the response headers sent for each request, are they both set to
> image/jpg or at least the same?
>
they are. Image/png
same headers, same code, same data, same website, same server.
> Cheers
>
> Gabe
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
|
|
|