Patricia..
Give this a try..
PHP Code:
<?php
// PRINT DOMAINS
$dirhandle= opendir("/www/virtual/alan/html");
$number_of_links = 0;
while($filename = readdir($dirhandle)) {
if ($filename != ".") {
if ($filename != "..") {
$filenames[]=$filename;
}
}
}
closedir($dirhandle);
sort($filenames);
for($i=0; $i < count($filenames); $i++) {
print("<FONT FACE=\"Arial, Helvetica\" SIZE=2>$filenames[$i]</FONT><BR>");
}
?>
Save that into notepad and name it something like domain.php, upload it to your domain / domains and call it from the web, it *should* give you a listing of every file on any given domain you utilize it on
Regards,
Lee
Bookmarks