You are here: Re: web harvesting « All PHP « IT news, forums, messages
Re: web harvesting

Posted by Arjen on 06/23/06 13:33

McHenry schreef:
> I have a simple task to query a number of pages and read data then save it
> into a database.
> Each page has repeating data similar to a listing of stock quotes where each
> pages lists 100 stocks etc.
>
> a) I can query the web and store the page in a variable
> b) I can update the database with the data
>
> I cannot work out the best way to process the variable of the web page to
> extract the required data, presently it is simply one large string in a
> variable.
>
> Any pointers would be greatly appreciated...

Nothing wrong with a large string. Use preg_match or so to filer out the
data.

Can you give an example of what page u retrieve and what data u want out
of it ?

arjen

 

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

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