search the network & cronjob

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
hi ng,
is it possible with php to search new content on internet sides with an  
daily php cronjob? Are there any php-tool (to search and save into xml  
or databases; and cronjob-tools) available?
thx, steff

Re: search the network & cronjob

On Wed, 16 Aug 2006 11:18:41 +0200, Stefan Schwärzler wrote:
Quoted text here. Click to load it


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

From there you can save it using file_put_contents

Quoted text here. Click to load it

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



Andy Jeffries MBCS CITP ZCE   | gPHPEdit Lead Developer | PHP editor for Gnome 2 | Personal site and photos

Site Timeline