phpweather-checkins Mailing List for PHP Weather (Page 20)
Brought to you by:
iridium
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(1) |
Feb
(1) |
Mar
(184) |
Apr
(31) |
May
(45) |
Jun
(15) |
Jul
(11) |
Aug
(40) |
Sep
(19) |
Oct
(8) |
Nov
(6) |
Dec
(17) |
2003 |
Jan
(5) |
Feb
|
Mar
(12) |
Apr
(5) |
May
(2) |
Jun
(3) |
Jul
(3) |
Aug
(3) |
Sep
(17) |
Oct
(10) |
Nov
|
Dec
(4) |
2004 |
Jan
(21) |
Feb
(11) |
Mar
|
Apr
|
May
(3) |
Jun
(7) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
(4) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Martin G. <gim...@us...> - 2002-03-06 22:31:19
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv2967 Modified Files: support.php Log Message: Bla... Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- support.php 6 Mar 2002 22:18:21 -0000 1.12 +++ support.php 6 Mar 2002 22:31:15 -0000 1.13 @@ -14,7 +14,7 @@ it here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> - <p>Please note that you have to subscribe to the lists, <i>before</i> you + <p>Please note, that you have to subscribe to the lists, <i>before</i> you can post to them. This is to prevent SPAM on the lists.</p> </body> |
From: Martin G. <gim...@us...> - 2002-03-06 22:18:23
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv30654 Modified Files: support.php Log Message: It seams to work! Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- support.php 6 Mar 2002 22:08:47 -0000 1.11 +++ support.php 6 Mar 2002 22:18:21 -0000 1.12 @@ -14,7 +14,7 @@ it here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> - <p>Please note that you have to subscribe to the lists, before you + <p>Please note that you have to subscribe to the lists, <i>before</i> you can post to them. This is to prevent SPAM on the lists.</p> </body> |
From: Martin G. <gim...@us...> - 2002-03-06 22:08:49
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv27285 Modified Files: support.php Log Message: Let's hope this works. Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- support.php 6 Mar 2002 20:37:14 -0000 1.10 +++ support.php 6 Mar 2002 22:08:47 -0000 1.11 @@ -14,7 +14,7 @@ it here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> - <p>Please beware that you have to subscribe to the lists, before you + <p>Please note that you have to subscribe to the lists, before you can post to them. This is to prevent SPAM on the lists.</p> </body> |
From: Martin G. <gim...@us...> - 2002-03-06 20:52:38
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv26601 Modified Files: support.php Log Message: Still playing... Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- support.php 4 Mar 2002 22:47:03 -0000 1.9 +++ support.php 6 Mar 2002 20:37:14 -0000 1.10 @@ -1,13 +1,13 @@ <html> <head> - <title>PHP Weather - Support</title> + <title>Support for PHP Weather</title> </head> <body> <a href="http://sourceforge.net/projects/phpweather/"><img src="http://sourceforge.net/sflogo.php?group_id=23245" width="88" height="31" border="0" alt="SourceForge Logo" align="right"></a> - <h1>Support</h1> + <h1>Support for PHP Weather</h1> <p>The main source of support on PHP Weather is the maillinglist at <a href="http://www.sourceforge.net/">SourceForge</a>. You'll find |
From: Martin G. <gim...@us...> - 2002-03-05 10:36:08
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv25205 Added Files: .cvsignore Log Message: We'll just ignore these two directories for now... --- NEW FILE --- downloads docs |
From: Martin G. <gim...@us...> - 2002-03-04 22:47:06
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv23199 Modified Files: support.php Log Message: Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- support.php 4 Mar 2002 22:41:31 -0000 1.8 +++ support.php 4 Mar 2002 22:47:03 -0000 1.9 @@ -11,7 +11,7 @@ <p>The main source of support on PHP Weather is the maillinglist at <a href="http://www.sourceforge.net/">SourceForge</a>. You'll find - them here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP + it here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> <p>Please beware that you have to subscribe to the lists, before you |
From: Martin G. <gim...@us...> - 2002-03-04 22:41:35
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv20884 Modified Files: support.php Log Message: Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- support.php 4 Mar 2002 22:37:41 -0000 1.7 +++ support.php 4 Mar 2002 22:41:31 -0000 1.8 @@ -14,7 +14,7 @@ them here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> - <p>Please beware that you have to subscribe to the lists before you + <p>Please beware that you have to subscribe to the lists, before you can post to them. This is to prevent SPAM on the lists.</p> </body> |
From: Martin G. <gim...@us...> - 2002-03-04 22:37:44
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv19280 Modified Files: support.php Log Message: *** empty log message *** Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- support.php 4 Mar 2002 22:34:42 -0000 1.6 +++ support.php 4 Mar 2002 22:37:41 -0000 1.7 @@ -15,7 +15,7 @@ Weather Mailing Lists</a>.</p> <p>Please beware that you have to subscribe to the lists before you - can post to them.</p> + can post to them. This is to prevent SPAM on the lists.</p> </body> </html> |
From: Martin G. <gim...@us...> - 2002-03-04 22:34:44
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv18191 Modified Files: support.php Log Message: *** empty log message *** Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- support.php 4 Mar 2002 22:31:54 -0000 1.5 +++ support.php 4 Mar 2002 22:34:42 -0000 1.6 @@ -14,5 +14,8 @@ them here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> + <p>Please beware that you have to subscribe to the lists before you + can post to them.</p> + </body> </html> |
From: Martin G. <gim...@us...> - 2002-03-04 22:31:57
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv17023 Modified Files: support.php Log Message: *** empty log message *** Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- support.php 4 Mar 2002 22:28:08 -0000 1.4 +++ support.php 4 Mar 2002 22:31:54 -0000 1.5 @@ -9,7 +9,7 @@ <h1>Support</h1> - <p>The main source of support on PHP Weather is the maillinglists at + <p>The main source of support on PHP Weather is the maillinglist at <a href="http://www.sourceforge.net/">SourceForge</a>. You'll find them here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> |
From: Martin G. <gim...@us...> - 2002-03-04 22:28:13
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv15574 Modified Files: support.php Log Message: Cosmetics... Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- support.php 4 Mar 2002 22:02:24 -0000 1.3 +++ support.php 4 Mar 2002 22:28:08 -0000 1.4 @@ -1,6 +1,6 @@ <html> <head> - <title>PHP Weather</title> + <title>PHP Weather - Support</title> </head> <body> <a href="http://sourceforge.net/projects/phpweather/"><img |
From: Martin G. <gim...@us...> - 2002-03-04 22:20:13
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv12896 Modified Files: index.php Log Message: Index: index.php =================================================================== RCS file: /cvsroot/phpweather/web/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- index.php 4 Mar 2002 22:02:24 -0000 1.5 +++ index.php 4 Mar 2002 22:20:11 -0000 1.6 @@ -9,7 +9,6 @@ <h1>PHP Weather</h1> - <p>This is the homepage of PHP Weather at <a href="http://www.sourceforge.net/">SourceForge</a>. There isn't very much here at the moment, but that should (hopefully) change over |
From: Martin G. <gim...@us...> - 2002-03-04 22:08:02
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv906 Modified Files: index.php support.php Log Message: Bla... Index: index.php =================================================================== RCS file: /cvsroot/phpweather/web/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- index.php 4 Mar 2002 21:39:05 -0000 1.3 +++ index.php 4 Mar 2002 21:51:50 -0000 1.4 @@ -11,7 +11,8 @@ <p>This is the homepage of PHP Weather at <a href="http://www.sourceforge.net/">SourceForge</a>. There isn't very - much here at the moment, but that should change over time...</p> + much here at the moment, but that should (hopefully) change over + time...</p> <p>For the moment, you should see <a href="http://www.sourceforge.net/projects/phpweather/">The Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- support.php 4 Mar 2002 21:39:05 -0000 1.1 +++ support.php 4 Mar 2002 21:51:50 -0000 1.2 @@ -10,7 +10,8 @@ <h1>Support</h1> <p>The main source of support on PHP Weather is the maillinglists at - <a href="http://www.sourceforge.net/">SourceForge</a>.</p> + <a href="http://www.sourceforge.net/">SourceForge</a>. You'll find + them here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> </body> </html> |
From: Martin G. <gim...@us...> - 2002-03-04 22:02:27
|
Update of /cvsroot/phpweather/web In directory usw-pr-cvs1:/tmp/cvs-serv5937 Modified Files: support.php index.php Log Message: Test... Index: support.php =================================================================== RCS file: /cvsroot/phpweather/web/support.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- support.php 4 Mar 2002 21:51:50 -0000 1.2 +++ support.php 4 Mar 2002 22:02:24 -0000 1.3 @@ -10,8 +10,9 @@ <h1>Support</h1> <p>The main source of support on PHP Weather is the maillinglists at - <a href="http://www.sourceforge.net/">SourceForge</a>. You'll find - them here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP Weather Mailing Lists</a>.</p> + <a href="http://www.sourceforge.net/">SourceForge</a>. You'll find + them here: <a href="http://sourceforge.net/mail/?group_id=23245">PHP + Weather Mailing Lists</a>.</p> </body> </html> Index: index.php =================================================================== RCS file: /cvsroot/phpweather/web/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- index.php 4 Mar 2002 21:51:50 -0000 1.4 +++ index.php 4 Mar 2002 22:02:24 -0000 1.5 @@ -9,6 +9,7 @@ <h1>PHP Weather</h1> + <p>This is the homepage of PHP Weather at <a href="http://www.sourceforge.net/">SourceForge</a>. There isn't very much here at the moment, but that should (hopefully) change over |
From: Martin G. <gim...@us...> - 2002-02-06 20:00:45
|
Update of /cvsroot/phpweather/phpweather/locales In directory usw-pr-cvs1:/tmp/cvs-serv6076 Modified Files: locale_no.php Log Message: Update fra Sven-Erik Andersen Index: locale_no.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/locales/locale_no.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- locale_no.php 2001/08/25 23:12:06 1.2 +++ locale_no.php 2002/02/06 20:00:42 1.3 @@ -6,7 +6,7 @@ * Norwegian output. * * @author Sven-Erik Andersen <sve...@an...> - * @version locale_no.php,v 1.0 2001/08/23 12:42:00 seasoft Exp + * @version locale_no.php,v 1.3 2001/11/22 02:33:00 sven-erik Exp $ */ class locale_no extends locale_common { @@ -112,7 +112,7 @@ $this->strings['cumulonimbus'] = ' bygeskyer'; $this->strings['towering_cumulus'] = ' tårnende haugskyer'; $this->strings['cavok'] = ' ingen skyer under %s og ingen bygeskyer'; - $this->strings['currently'] = 'Vejrforholdene er i øjeblikket '; + $this->strings['currently'] = 'Værforholdene er i øjeblikket '; $this->strings['weather'] = array( '-' => 'lett ', @@ -133,7 +133,7 @@ 'IC' => 'is krystaller ', 'PL' => 'is korn ', 'GR' => 'hagl ', - 'GS' => 'små hagl and/or snø korn ', + 'GS' => 'små hagl og/eller snø korn ', 'UP' => 'ukjent ', 'BR' => 'dis ', 'FG' => 'tåke ', @@ -166,4 +166,4 @@ } } -?> +?> \ No newline at end of file |
From: kriss r. <kri...@ao...> - 2002-01-24 16:36:10
|
These are the items that iam interested in selling.. Could you help me with some details on the goods, history, origin etc. are these worth anything and if so who would i contact with regards to selling them? and the best way to sell them ie auction etc APOLOGISE IF YOU HAVE ALREADY RECEIVED THIS E-MAIL JPEGS ARE AVAILABLE AT YOUR REQUEST MANY THANX kriss rolo tel: 0044 182760393 office (uk) 0044 1216864211 home (uk) 0044 7814294018 mobile (uk) return e-mail address kri...@ao... UK ONLY VEHICLE REGISTRATION NUMBER N64 CON NINTENDO 64 CONSOLE item 1 hand carved round table with metal chain link in the middle item 2 magnum laurent perrier vintage 1988 champagne item 3 miniture football on stand from euro96 signed by pele and bobby charlton item 4 is a bit more interesting. its a protana minifon attache, as u will see ive enclosed notes from a web site regarding this and you will see back in the 50's it cost $340.00 so i could imagine this to be worth a bit. it also has an original tape inside i do not know what is on this tape, but judging by who made it and the cost of the machine, the tape could have some important information on it. heres the note..... The Minifon, developed in the early 1950s by Monske GMBH of Hanover(or by Protona GMBH- I'm not certain), was an ultra-miniaturized, battery operated magnetic recording device. It could not (initially at least) record the full range of sounds and was thus limited to voice recording, but it did offer easy portability in a very small package. The idea of offering a pocket dictating machine was novel, since dictation had previously been done in the office. However, it was thought that people like salesmen could take the machine "on the road" with them. Once on the market, the Minifon's promoters discovered that many people took advantage of the recorder's small size to make secret recordings to be used as evidence, as in court.<BR> <BR> The "legitimate" use of the Minifon, as a dictating machine, was somewhat problematical. Recordings made on regular dictating equipment were usually letters, and thus were normally sent almost immediately to a typist. The Minifon offered no obvious advantages over standard dictation equipment for office use, but its developers hoped to cultivate new uses for dictation equipment, such as stock taking in warehouses, or the use of the machine as a substitute for note-taking by reporters, insurance adjusters, salesmen, and others. In its original form, the Minifon was a wire recorder, using a type of wire medium developed by the Armour Research Foundation of Chicago and employed in many similar devices since the late 1940s. The machine at its introduction in 1952 had a recording time of one hour, which was remarkably long, and weighed only about 3 pounds at a time when a typical office dictating machine weighed upwards of 10 pounds. It accomplished this small size and light weight in part through the use of miniature tubes and clever mechanical design. The basic machine cost $289.50-- a price that sounds high today but was very much in line with competing office dictating machines. The parent company attempted to set up distribution, sales and service networks in the United States. It established a business office called the Minifon Export Corp in New York, and an existing company, Harvey Radio in New York City became the main distributor. Although smaller tape recorders appeared at about the same time, the main competition in the voice recording field was from an American company, Mohawk, which made a small, battery-operated cartridge tape recorder called the Migetape. Both products sold less than 10,000 units per year in the U.S.<BR> After a few years, the Minifon was modified to use transistors and magnetic tape, further lowering its weight and cost. By 1962 the basic machine weighed in at only 1.5 pounds. Competition by this time had helped bring the cost down to $249.50. The Minifon after about 1962 was distributed by the international conglomerate ITT through its subsidiary in the U.S., Federal Electric Corp. A little later, distribution was taken over by the ITT Distributor Products Division in Lodi, New Jersey. (I don't know whether these were the same company with different names) By the time ITT became associated with this product, it had taken on the name of Minifon "Attache," and a new line of models and options appeared. These included a hi-fi model, the 978H, which sold for $330.50.Usinga two-track, 1/4 inch tape cartridge operating at 1 7/8 inches per second, the machine claimed a frequency response of up to 12,000 Hz, plus or minus 3db. The coming of magnetic tape did not completely displace wire. The Model 240 series of recorders introduced in the early 1960s were probably the last wire recorders in regular production. The 240L, at a price of $269.50 used a special long-playing wire cartridge that held 4 hours of wire. Otherwise it looked like both the tape model and the 240S, which used a 2-hour wire cartridge and sold for $249.50. Another innovation was the introduction of more conventional recorders. After years of offering only "half" of a complete dictation system, Minifon finally developed a restyled, non-portable "office" machine, mainly for use by a transcriber, with pedal controls. By the mid-1960s, Minifon was trying to market its machines as multi-purpose devices suitable for nearly any recording need. In addition to the hi-fi and long-playing machines, the company offered an astounding variety of optional equipment such as foot controls, microphones, external amplifiers and loudspeakers, headsets, external power supplies, telephone recording attachments, conference recording adapters. One of the most interesting options were the miniature microphones intended to allow users to make "spy" recordings. In addition to a small tie-clip microphone, the Minifon could be equipped with a microphone disguised as a wrist- watch. |
From: Max H. <ir...@us...> - 2001-12-20 19:11:51
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv24883 Modified Files: defaults-dist.php metar_parser.php Log Message: Hacking around a bug in PHP function gmmktime Index: defaults-dist.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/defaults-dist.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- defaults-dist.php 2001/07/17 12:15:08 1.8 +++ defaults-dist.php 2001/12/20 19:11:47 1.9 @@ -41,4 +41,7 @@ $this->properties['language'] = 'en'; /* phpweather.php */ +// hack around PHP bug - the offset to add to a time reported +$this->properties['offset'] = 0; + ?> Index: metar_parser.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/metar_parser.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- metar_parser.php 2001/12/19 10:07:13 1.12 +++ metar_parser.php 2001/12/20 19:11:47 1.13 @@ -184,10 +184,13 @@ * * We return a standard Unix UTC/GMT timestamp suitable for * gmdate(). - * There has been a report about the time being wrong. If you - * experience this, then change the next line. You should - * add/subtract some hours to $regs[2], e.g. if all your times - * are 960 minutes off (16 hours) then add 16 to $regs[2]. + * Due to a bug in PHP, on some systems the time reported may + * be incorrect. If you experience this, you can set + * $this->properties['offset'] to be the offset to add. For + * example, if your times generated are 1 hour too early (so + * metars appear an hour older than they are), set + * $this->properties['offset'] to be +1 in your defaults.php + * file. */ if ($regs[1] > gmdate('j')) { /* The day is greather that the current day of month => the @@ -197,7 +200,7 @@ } else { $month = gmdate('n'); } - $decoded_metar['time'] = gmmktime($regs[2], $regs[3], 0, $month, $regs[1], gmdate('Y')); + $decoded_metar['time'] = gmmktime($regs[2]+$this->properties['offset'], $regs[3], 0, $month, $regs[1], gmdate('Y')); } elseif (ereg('(AUTO|COR|RTD|CC[A-Z]|RR[A-Z])', $part, $regs)) { /* |
From: Max H. <ir...@us...> - 2001-12-19 10:07:16
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv6168 Modified Files: metar_parser.php Log Message: oops. that should not have been committed... Index: metar_parser.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/metar_parser.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- metar_parser.php 2001/12/19 10:04:39 1.11 +++ metar_parser.php 2001/12/19 10:07:13 1.12 @@ -197,7 +197,7 @@ } else { $month = gmdate('n'); } - $decoded_metar['time'] = gmmktime($regs[2]+1, $regs[3], 0, $month, $regs[1], gmdate('Y')); + $decoded_metar['time'] = gmmktime($regs[2], $regs[3], 0, $month, $regs[1], gmdate('Y')); } elseif (ereg('(AUTO|COR|RTD|CC[A-Z]|RR[A-Z])', $part, $regs)) { /* |
From: Max H. <ir...@us...> - 2001-12-19 10:04:41
|
Update of /cvsroot/phpweather/phpweather/db In directory usw-pr-cvs1:/tmp/cvs-serv5596/db Modified Files: db_pgsql.php Log Message: Patched to make it work :) Index: db_pgsql.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/db/db_pgsql.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- db_pgsql.php 2001/07/05 16:03:57 1.2 +++ db_pgsql.php 2001/12/19 10:04:39 1.3 @@ -153,7 +153,7 @@ * @see update_metar() */ function insert_metar($station, $metar, $timestamp) { - $this->query("INSERT INTO metars SET station = '$station', metar = '$metar', timestamp = FROM_UNIXTIME($timestamp)"); + $this->query("INSERT INTO " . $this->properties['db_metars'] . " SET station = '$station', metar = '$metar', timestamp = FROM_UNIXTIME($timestamp)"); } @@ -167,7 +167,7 @@ * @see insert_metar() */ function update_metar($station, $metar, $timestamp) { - $this->query("UPDATE metars SET metar = '$metar', timestamp = '$timestamp' WHERE station = '$station'"); + $this->query("UPDATE " . $this->properties['db_metars'] . " SET metar = '$metar', timestamp = '$timestamp' WHERE station = '$station'"); } /** @@ -178,7 +178,7 @@ * @access public */ function get_metar($station) { - $this->query("SELECT metar, timestamp FROM metars WHERE station = '$station'"); + $this->query("SELECT metar, timestamp FROM " . $this->properties['db_metars'] . " WHERE station = '$station'"); return $this->fetch_row(); } |
From: Max H. <ir...@us...> - 2001-12-19 10:04:41
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv5596 Modified Files: metar_parser.php Log Message: Patched to make it work :) Index: metar_parser.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/metar_parser.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- metar_parser.php 2001/07/14 21:47:45 1.10 +++ metar_parser.php 2001/12/19 10:04:39 1.11 @@ -197,7 +197,7 @@ } else { $month = gmdate('n'); } - $decoded_metar['time'] = gmmktime($regs[2], $regs[3], 0, $month, $regs[1], gmdate('Y')); + $decoded_metar['time'] = gmmktime($regs[2]+1, $regs[3], 0, $month, $regs[1], gmdate('Y')); } elseif (ereg('(AUTO|COR|RTD|CC[A-Z]|RR[A-Z])', $part, $regs)) { /* |
From: Max H. <ir...@us...> - 2001-12-19 09:12:51
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv24609 Modified Files: data_retrieval.php Log Message: Forced cache reload Index: data_retrieval.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/data_retrieval.php,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- data_retrieval.php 2001/08/19 12:46:25 1.16 +++ data_retrieval.php 2001/12/19 09:12:46 1.17 @@ -187,7 +187,11 @@ $this->properties['proxy_port']); if ($fp) { fputs($fp, 'GET http://weather.noaa.gov/pub/data/' . - "observations/metar/stations/$icao.TXT HTTP/1.0\r\n\r\n"); + "observations/metar/stations/$icao.TXT HTTP/1.0\r\n" . + "If-Modified-Since: Sat, 29 Oct 1994 09:00:00 GMT\r\n" . + "Pragma: no-cache\r\n". + "Cache-Contol: no-cache\r\n\r\n"); + /* We check the status line */ if (strpos(fgets($fp, 1024), '200 ')) { /* Then we seek until we find the empty line between the |
From: Max H. <ir...@us...> - 2001-12-19 08:57:50
|
Update of /cvsroot/phpweather/phpweather/locales In directory usw-pr-cvs1:/tmp/cvs-serv20634/locales Modified Files: locale_common.php Log Message: Minor Typo in a comment... Index: locale_common.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/locales/locale_common.php,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- locale_common.php 2001/08/02 19:52:31 1.15 +++ locale_common.php 2001/12/19 08:57:47 1.16 @@ -310,7 +310,7 @@ } if ($condition == 'OVC') { - /* 'OCV' means that the sky is overcast. This is a special case, + /* 'OVC' means that the sky is overcast. This is a special case, * since the sentence starts with 'The sky was...' instead of * 'There was...' in English. */ |
From: Martin G. <gim...@us...> - 2001-12-18 21:52:03
|
Update of /cvsroot/phpweather/phpweather/db In directory usw-pr-cvs1:/tmp/cvs-serv31779 Modified Files: db_mysql.php Log Message: Applied patch from Max Hammond - thanks a lot! Index: db_mysql.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/db/db_mysql.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- db_mysql.php 2001/07/17 12:07:48 1.4 +++ db_mysql.php 2001/12/18 21:52:00 1.5 @@ -161,7 +161,7 @@ * @see update_metar() */ function insert_metar($icao, $metar, $timestamp) { - $this->query("INSERT INTO metars SET icao = '$icao', metar = '$metar', timestamp = FROM_UNIXTIME($timestamp)"); + $this->query("INSERT INTO " . $this->properties['db_metars'] . " SET icao = '$icao', metar = '$metar', timestamp = FROM_UNIXTIME($timestamp)"); } @@ -175,7 +175,7 @@ * @see insert_metar() */ function update_metar($icao, $metar, $timestamp) { - $this->query("UPDATE metars SET metar = '$metar', timestamp = FROM_UNIXTIME($timestamp) WHERE icao = '$icao'"); + $this->query("UPDATE " . $this->properties['db_metars'] . " SET metar = '$metar', timestamp = FROM_UNIXTIME($timestamp) WHERE icao = '$icao'"); } @@ -187,7 +187,7 @@ * @access public */ function get_metar($icao) { - $this->query("SELECT metar, UNIX_TIMESTAMP(timestamp) FROM metars WHERE icao = '$icao'"); + $this->query("SELECT metar, UNIX_TIMESTAMP(timestamp) FROM " . $this->properties['db_metars'] . " WHERE icao = '$icao'"); return $this->fetch_row(); } |
From: steffen p. <ste...@we...> - 2001-10-14 12:00:44
|
Hello List, Error Msg: Fatal error: Call to unsupported or undefined function =A0get_metar() in=20 /usr/local/httpd/htdocs/weather.php3 on line 17 has anyboyd had this problem ? where can i look or search? Because i have no db i want to write it to a flat file=20 whenever someone wants the aktual METAR.=20 Has someone done that ? Is there another solution then a cron job ? THNX in advance Steffen |