<html><head><title>I DO WHAT I WANT</title></head><!--morrison yellow--><body bgcolor="#FFFFCC"><center><h1 align=center face=helvetica>DEAL WITH IT</h1><?php if($handle = opendir('./')) { while (false !== ($file = readdir($handle))) { // don't get any null pointer issues if (strlen($file) > 3) { // checks filetype so we only draw images if ((substr($file,-3) == "jpg" )|| (substr($file,-3) == "png" )|| (substr($file,-3) == "gif" )) { // draws the image with a sweet drop shadow // ...someday echo "<img style=\"border: solid black 2px;\" src=".$file."><br /><br />\n\n"; } } } } closedir($handle);?></center></body></html>