Page 2 of 2

Posted: Sat Mar 19, 2005 11:15 am
by jmueller0823
hmmm. yea.

Is there a Plan B?

Posted: Sat Mar 19, 2005 3:01 pm
by feyd
I already gave you different directions you could go..

Posted: Sat Mar 19, 2005 3:04 pm
by jmueller0823
feyd, yes I know.

I need a little hand holding, some code examples.

Posted: Sat Mar 19, 2005 3:14 pm
by feyd
well.. there's curl and file_get_contents() which can both retrieve remote files. Once you have the file, you can save it to your local server.

I would use a cron, or fork a script on the first request of the hour, to fetch the remote file. Once loaded (if successful) you can simply overwrite the local file. At any rate, you will have a fairly recent copy of their file on hand.

Posted: Sun Mar 20, 2005 1:28 pm
by jmueller0823
feyd, thanks.
Okay, I'll do some looking around for a 'Curl' solution...

Do you think there's something 'canned' out there? I don't need to re-invent the wheel, do I?

Posted: Sun Mar 20, 2005 5:03 pm
by feyd
do it yourself.. learn something...