PDA

View Full Version : Display a part of a page



sssalvi
21 Sep 2010, 05:43 AM
I wish to display a part of numerical data from a ftp site into my website ( phpbb3) http://earth-station-forum.stationforum.com/ .

How do I do that?

Enclosing the whole page is easy but how to reproduce only a small data?

In particular how can I reproduce only the bold text "Solar flux = 83 " form the webpage :
http://www.swpc.noaa.gov/ftpdir/latest/wwv.txt
??





:Product: Geophysical Alert Message wwv.txt
:Issued: 2010 Sep 21 0906 UTC
# Prepared by the US Dept. of Commerce, NOAA, Space Weather Prediction Center
#
# Geophysical Alert Message
#
Solar-terrestrial indices for 20 September follow.
Solar flux 83 and mid-latitude A-index 2.
The mid-latitude K-index at 0900 UTC on 21 September was 2 (18 nT).

No space weather storms were observed for the past 24 hours.

No space weather storms are expected for the next 24 hours.



I am not a professional software person ... but have attempted a few complex programs in C BASIC etc.

Just a very preliminary code will do .. I will try to refine it.

I tried $string.. $ substr etc but could not succeed.

Thanks in advance.

==========

S S Salvi

samantha_sync
23 Sep 2010, 01:22 AM
Hi,

That was great...Thanks for the info...