Re: time update from the server problem...
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2002-12-03 18:38:10
|
Baron Paul <pau...@ya...> writes: > Hi, > i m new to this list. Welcome! > I have installed this lovely php on a server in France but I live in > japan at the moment and I noticed that even when it s nite in japan, > the cloud image shows the sun... I kind of understood in looking > quickly in the archives that it was probably due to the fact that > the choosing between the sun and the moon image was dependant on the > time of the server on which the php was hosted... Yes, you've found a known bug :-/ > I use version 2.0.0 and i was wondering if anything had been fixed > in a CVS release... No, this hasn't changed, but I think we could make a solution. I've written a bit about it here at SourceForge: http://makeashorterlink.com/?T162215A2 I don't have time to implement this myself right now, so if someone feels up to the task, then please say so. I don't think it's that hard: * The stations.csv file has to be extended with the extra data. Perhaps we should change the format of the file, I don't think it was particularly clever of me to use ## to delimit countries and # to start comments... * The SQL-based databases has to have their schema updated with extra fields for latitude and longitude, not a problem. * The db_null database has to change by increasing PW_LINE_LENGTH and changing lookup_icao() accourdingly. * New access methods should be added to data_retrieval.php to access the new information. * The pw_images class has to be changed so that it takes advantage for the new information. I'll try and provide all the help I can through the mailinglist if someone wants to give it a try. > however I cannot install CVS on my computer so I was wondering if > somebody had either done a patch or is actually making the latest > nightlies readily available on his/her website. I used to have a cronjob running at SourceForge that would make a snapshot of CVS and put it here: http://phpweather.net/downloads/ But recently the script stopped working: it got errors about a read-only file system... I haven't really looked into it, though... -- 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. |