How do I ignore folders to pull up like cgi-bin? After getting the subfolders, how do I randomly choose one of the folders pulled?
Here's what I have so far:
<?php
$folder=dir("./");
while($folderEntry=$folder->read()){
echo $folderEntry."<br>";
}
$folder->close();
?>