Re: [PHP] remote files to servers

2002-09-26 Thread ed


 While were on the subject what about retreiving a web page and images
based on URL?

Ed Curtis


On Fri, 27 Sep 2002, Simon Angell wrote:

 Hi all.
 i was wondering if it is possible to use PHP to retrieve a remote file and
 then write a copy to my own server for quicker access?
 
 --
 Cheers
 -
 Simon Angell
 Canberra ACT
 www.canberra-wx.com
 -
 Member of:
 Australian Severe Weather Association.
 www.severeweather.asn.au
 -
 This email is virus free.
 Scanned before leaving my mailbox
 using Norton Antivirus 2002 for Win2k
 Scanned with the latest definition File.
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] remote files to servers

2002-09-26 Thread David Buerer

Of Course!  

You can use the fopen functions or curl functions depending on what and how
you want to manage the data once you get it.

Look at the manual in both of these sections and it will show you how to do
it.

BTW: What you are talking about doing is building a caching webserver.
Apache can do this by default, so can many other web server so check
documentaiton there as well.

David


-Original Message-
From: Simon Angell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 8:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] remote files to servers


Hi all.
i was wondering if it is possible to use PHP to retrieve a remote file and
then write a copy to my own server for quicker access?

--
Cheers
-
Simon Angell
Canberra ACT
www.canberra-wx.com
-
Member of:
Australian Severe Weather Association.
www.severeweather.asn.au
-
This email is virus free.
Scanned before leaving my mailbox
using Norton Antivirus 2002 for Win2k
Scanned with the latest definition File.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php