as we know ,we can use this to show filelist in this directory, <? $dir="."; $h_dir=opendir($dir); while ($file=readdir($h_dir)) echo $file."<br>"; ?> But can we use this to show other sites filelist?such as www.yahoo.com
that will read local dir struct using internal functions. you can call internal functions on an external host. same as you cant call 'dir' on microsoft.com's web site. the only way to access www.yahoo.com is though http, there are no http commands called 'dir' so simple anser. no.
Chris Lee lee@mediawaveonline.com