Posted by J.O. Aho on 02/05/07 22:20
vivekmahanta@gmail.com wrote:
> I dont know if I explained myself properly. Actually, suppose there is
> a file located on a URL like www.yahoo.com/gogo.txt and I want to
> download gogo.txt from the yahoo website using php. How do I specify
> that in PHP ??
You can start with reading the following page,
http://www.php.net/manual/en/function.fopen.php
it will give the information you need on downloading a remote file and saving
a file. When working with ftp/http protocols, you will need a wrapper that
allows you to use those protocols with fopen().
--
//Aho
Navigation:
[Reply to this message]
|