handle."
"; echo "Path: ".$d->path."
"; echo "Voltar

"; echo " "; echo " "; echo " "; while (false !== ($entry = $d->read())) { if($entry != "." and $entry != ".." and $entry != "include" and $entry != "mysql" and $entry != "gratis") { $entryfull = $dir."/".$entry; echo " "; if(is_dir($entryfull)) { echo " "; } elseif(is_file($entryfull)) { echo " "; } else { echo " "; } echo " "; } } echo "
ArquivoAlteradoTamanho
".$entry."".date("d/m/Y - H:i:s", @filectime($entryfull))."".@filesize($entryfull)." bytes".$entry."".date("d/m/Y - H:i:s", @filectime($entryfull))."".@filesize($entryfull)." bytes".$entry."".date("d/m/Y - H:i:s", @filectime($entryfull))."".@filesize($entryfull)." bytes
"; $d->close(); } else { $arq = explode("/", $file); $total = count($arq) - 1; $arq = $arq[$total]; $arq = explode(".", $arq); $total = count($arq) - 1; $ext = $arq[$total]; if($ext == "jpg" or $ext == "gif") { $file = str_replace($DOCUMENT_ROOT, "", $file); echo " "; } elseif($ext == "gz" or $ext == "zip" or $ext == "exe") { $file = str_replace($DOCUMENT_ROOT, "", $file); echo " "; echo "Aguarde... "; } else { $file = show_source($file); $total = strlen($file) - 1; $file = substr($file, 0, $total); echo $file; } echo "
"; echo "Voltar "; } ?>