I'm trying to access the directories on my main Free-online webspace using PHP, but, of course, the script is on another server. Anyone know how to do what I'm trying to acheive? The tech support guys seem to think that this is an advanced feature of their PHP and haven't put it on their guides!!! <?php $dir = getcwd(); echo("Current Directory is $dir<br>"); $directory = "/images/william/06dec/"; $imagecount = count(glob("" . $directory . "*.jpg")); echo("There are $imagecount images in the directory"); ?> TIA, Gerald.