You are here: Re: How to grab a piece of text with help of a php-script « PHP Programming Language « IT news, forums, messages
Re: How to grab a piece of text with help of a php-script

Posted by Allodoxaphobia on 12/18/06 23:13

On Mon, 18 Dec 2006 23:30:42 +0100, Peertje wrote:
> Hi group, I would like to show the latest aurora data on my site.
> I know this is possible with help of a php-script, but I'm a nitwit with
> php-scripting.
> That's why I'm asking for help here.
>
> The following url is being updated once every minute.
> http://sec.noaa.gov/ftpdir/lists/ace/ace_mag_1m.txt
> and contains data for the past 2 hours.
>
> I would like to show the most recent Bx, By, Bz en Bt values (see line 21)

errmmm. "the most recent" appears to be line 'LAST', not "line 21".

BTW, line 2 seems to be the timestamp of when the txt file is
(re)written -- with line 'LAST' being some 2 minutes older. (Probably
attributed to data gathering, processing, and dissemination
overhead.)

Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http//jonz.net/ng.htm>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация