Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- search the network & cronjob
- Stefan SchwÃ¤rzler
August 16, 2006, 9:18 am
rate this thread
Re: search the network & cronjob
file_get_contents (or even better the curl* tools) will get you the
From there you can save it using file_put_contents
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
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
- » POSTing data to a page without using a form submit.
- — Previous thread in » PHP Scripting Forum