Salut
<?php
if($_GET['cat']) {
$path=$_GET['cat'];
$handle=opendir($path);
$i=0;
echo '<table...><tr>';
while (false != ($file = readdir($handle))) if (substr($file, 0, 1) != "." && strtoupper(substr($file,-3)) != "PHP") {
$i++;
echo"<td><img src=\"$path$file\" height=\"250\" width=\"250\"></td>";
if ($i%3==0) echo '</tr><tr>';
}
}
?>
une recherche sur exalead vous aurait peut-etre evite de poser cette questionIn a dream, I saw me, drop dead...
U were there, U cried...
It was just a dream,
if I die, U won't cry, maybe, U'll be happy