File "index.php"

Full path: /www/ichimill/backhoejoint/index.php
File size: 656 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Back

<?php
$files = array();
$path = ".";
if ($dir = opendir($path))
{
	while (($file = readdir($dir)) !== false)
	{
		if(($file != ".") && ($file != "..") && ($file != "index.php"))
		{
			$files[] = $file;
		}
	}
	closedir($dir);
}

print "<html>";

print "<head>";
print "<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">";
print "<title>加速度計測実験</title>";
print "</head>";

print "<body>";

sort($files);

for($iCount = 0; $iCount < count($files); $iCount++)
{
	$fullpath = $path. "/". $files[$iCount];
	print "<a href=\"". $fullpath. "\">". $fullpath. "</a><br />";
}

print "<br />";

print "</body>";

print "</html>";

PHP File Manager