file_put_contents problem
Posted: Mon Nov 12, 2007 3:21 pm
Code: Select all
<?
$dirpath = "/home/user456/public_html/test/upload";
$dh = opendir($dirpath);
while (false !== ($file = readdir($dh))) {
$content=file_get_contents($file);
echo "$content<br><br>";
}
closedir($dh);
?>