Download file from http to the server..

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fishown
Forum Commoner
Posts: 33
Joined: Sat May 12, 2007 5:35 pm

Download file from http to the server..

Post by fishown »

I Googled that ...and seems that one of the following acured...

First..ther is nothing like that using php only...
Secound.. I just built a wrong sentens to search...

So just to be sure... dose php alone capable of doing that?

thank guyes..
cpetercarter
Forum Contributor
Posts: 474
Joined: Sat Jul 25, 2009 2:00 am

Re: Download file from http to the server..

Post by cpetercarter »

If your PHP installation includes the Client URL (cURL) library, you can use cURL to communicate with other servers. The examples page in the PHP manual contains a simple example of how to download a webpage to the server, which will give you an idea about how cURL can be used.
Post Reply