I don't really need to use PHP, but as I needed to then do things with the file afterwards I thought I may as well use it if possible and keep everything in one program. I didn't know about wget, so that was useful.
While searching for info on wget I also saw talk of cURL. I've not read enough you to see what the difference is but the PHP Rich has provided looks like it's just what I need so I'll give that a test first and see what happens.
Thanks for your help, it's going to save me a lot of time!
|