Individual Page Selector (TIF)
$count=0;
if(isset($_POST[platbook])){
echo "Now viewing $_POST[platbook].
\n";
if ($handle = opendir($_POST[platbook])){
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
$storage[]=$file;$count=$count+1;
/*echo "
$file\n";*/
}
}
closedir($handle);
}
sort($storage);
$read=$storage[0];
$x=0;
while ($x < $count){
echo "
$read\n";
$x=$x+1;
$read=$storage[$x];
}
}
else{echo "
Welcome to the Recorders Platbook System.\n";}
?>