hmmm. yea.
Is there a Plan B?
JS timeout ...
Moderator: General Moderators
-
jmueller0823
- Forum Commoner
- Posts: 37
- Joined: Tue Apr 20, 2004 9:06 pm
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
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.
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.
-
jmueller0823
- Forum Commoner
- Posts: 37
- Joined: Tue Apr 20, 2004 9:06 pm