Re: Using DB to cache METARs ?
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2004-01-06 14:43:01
|
Phil Pierotti <phi...@sw...> writes: > Actually that was my first thought: bad URLs. > > So I checked the HTML source. > - All Good > So I checked the path/subdirs on the web server. > - All Good Okay, I just wanted to make that it wasn't some trivial mistake like that... > My preferred graphic viewer (irfanview 3.85) replies with > {filename}: PNG Decode error ! > This is not a valid PNG File ! > > Also neither FireBird 0.7+ nor MSIE 6 are able to display that local file. Ahh... MSIE 6... you're using Windows! That made a bell ring! :-) The problem is that your client translates the newlines into carrige-return newline --- Unix uses a plain newline, but Windows likes to use carrige-return newline. And of course one cannot just go around changing binary files like that... But it was really my mistake, I had forgot to use a -kb flag when I commited the files. That flag tells CVS that the file is binary, and so it shouldn't mess with the newlines. If anybody finds other binary files lacking this option, then let me know. -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather: Shows the current weather on your webpage and PHP Shell: A telnet-connection (almost :-) in a PHP page. |