Wednesday, November 26, 2008

Show inside directory file and sub directory with PHP code

//Open images directory
$dir = opendir("images");

//List files in images directory
while (($file = readdir($dir)) !== false)
{
echo "filename: " . $file . "
";
}

//Resets the directory stream
rewinddir($dir);

//Code to check for changes

closedir($dir);
?>

No comments:

How to solve mysql ERROR 1118 (42000) Row size too large

  I had this issue with MYSQL 5.7 . The following worked althoug...