kind of new to php but am starting to get my head around it a little.
What i want to do...
I have a csv which contains references to files that i can download.
I found this page: How to download xml file through in php?
This enabled me to download an xml file if i write the url and directory i want to save it to with no problems.
How to i modify this php to get all xml files in my csv?
I assume it will be something like: foreach and variable functions etc but have no idea how.
Also in the csv contains only the file name not the full url, but the first part of the url will always stay the same. And same goes for the download directory. I want all the files to be downloaded into the same directory as i pick and the file name will be the same as the one im downloading.
Also how would i change the php if for example i want to now download images, or any other file type? I assume this will be fairly easy?
Thanks for your help John