Tris scribeva in 2008-04-30 12:50: > Hmmm, I just tried making the URL to call http://www.bbc.co.uk and I got back: > Resource id #4 So you are still trying to use fopen()? It is supposed to return a resource. You can then read and write the opened file using this resource. fopen() on its own does not make a HTTP request. <http://php.net/fopen> A lot easier is to use file() or file_get_contents() <http://php.net/file> or <http://php.net/file-get-contents> .k