I have been playing around with directory reading for accessing image galleries and everything works fine as long as the folder holding the images is on the same server as the php.
I have been using :
$dir = dir("images");
to retrieve the directory
But...
Is it possible to access a directory on a different server using a "http://example.co.uk/images" type reference? I would like to expand what I have written to read in the images I have on different webspace. Everytime I try and use such a reference I get a null return.