Reply to Re: search the network & cronjob

Your name:

Reply:


Posted by Andy Jeffries on 08/16/06 11:59

On Wed, 16 Aug 2006 11:18:41 +0200, Stefan Schwärzler wrote:
> is it possible with php to search new content on internet sides with an
> daily php cronjob?

Yes.

> Are there any php-tool (to search and save into xml or
> databases

file_get_contents (or even better the curl* tools) will get you the
content.

From there you can save it using file_put_contents

> and cronjob-tools) available?

The PHP CLI binary (should come with your distribution) can be run from
cron. Use "#!/usr/bin/env php" as the first line of your PHP script.

That should give you enough to get started (I've already used up my quota
of writing fully functional code for other people today - so you just get
hints/pointers).

Cheers,


Andy


--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos

[Back to original 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

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