php แสดงรายการไฟล์ใน directory
มีนาคม 2nd, 2009
<html>
<head>
<title>PHP opendir()</title>
</head>
<body>
<?
$objOpen = opendir(”./”);
while (($file = readdir($objOpen)) !== false)
{
echo “filename: ” . $file . “<br />”;
}
?>
</body>
</html>
ความเห็นล่าสุด