uhm...mi risulta complicato già da adesso o.OCodice PHP:<?php
$path = "Daniele/images/gallery";
$for_page = 18;
$files = scandir($path);
$tot_pages = ceil($files / $for_page);
$current_page = (!$_GET['page']) ? 1 : (int)$_GET['page'];
$handle = opendir($path);
while ($file = readdir($handle)){ if ($file != "." && $file != "..") { echo $file."<br />"; }}
?>



Rispondi quotando