Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to download remote xml file?

Status
Not open for further replies.

rammi07

Programmer
Aug 1, 2006
20
0
0
NL
Hi all. could any one show me diffrent ways to be able download remote xml file using php. I want access a remote xml file every few min and download it and use it as it is local file. I be happy if some one show me how this can be don.Thanks
 
By remote, how do you mean?
1. Somewhere on the internet.
2. Somewhere on your network.

If it's on the network, I'd mount a share and use it where it is. Or maybe ftp to get it.

On the internet. I'd probably try wget first.

Mark
 
Kozusnik thank u for u reply. The xml file is on internet and i want get the file to use it localy. i am not running my own server. I just want to host my php script on a site. So u do u think wget will work!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top