Top
Home

Moose Peek

Create this PHP file. Place in directory to see all the Graphics in your directory



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>Directory Browser</TITLE>
<LINK REV="made" HREF="mailto:Tunes@SessioNite.com">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">

</HEAD>
<body style="background-color:#000000">
<style>
img {-webkit-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.27);
-moz-box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.27);
box-shadow: 7px 7px 5px 0px rgba(50, 50, 50, 0.27);}
p{font: 14px "arial"; font-weight: normal; color: #000000;}
</style>
<?php
$files = glob("*.*");
for ($i=1; $i<count($files); $i++)
{
$num = $files[$i];
print "<div style=\"background-color:#eeeeee;float:left;padding:15px;margin:5px;text-align:center;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;\">";
print "<p>";
print $num."";
print "<br><br>";
echo '<img src="'.$num.'" alt=>'."</div>";
}
?>
</body>
</HTML>