I have been able to read my own directories within my site using readdir but was wondering if I can use the same CGI script on my site to read a foreign site's directories? My program searches for an image to display (in which case it uses HTML to display this image). So basically I want to use one site to hold the images while another to hold my cgi programs. The CGI script will then look at the foreign site's image directory, and if it finds a certain image, then displays it on my webpage. Is this possible?