Scratching my head a bit now with this. I am trying to get a file from a remote url. I can save contents from local files, but can\'t from remote.
This works:
check the php settings...
it may be due to security issue... "allow_url_fopen = On"
http://www.php.net/manual/en/function.file-get-contents.php