mirror of
https://github.com/PhantomGamesDevelopment/PGD-Connect--Tribes-2-.git
synced 2026-03-24 22:59:15 +00:00
13 lines
No EOL
349 B
PHP
13 lines
No EOL
349 B
PHP
<?php
|
|
$dir = "/home/phantom7/public_html/public/Univ/Data/";
|
|
|
|
// Open a known directory, and proceed to read its contents
|
|
if (is_dir($dir)) {
|
|
if ($dh = opendir($dir)) {
|
|
while (($file = readdir($dh)) !== false) {
|
|
echo "filename: $file : filetype: " . filetype($dir . $file) . "<p>";
|
|
}
|
|
closedir($dh);
|
|
}
|
|
}
|
|
?>
|