Ciao Raga,
Ho bisogno di aiuto.
Avevo creato un album che ha funzionato egregiamente fino a qualche giorno fà.
Adesso visualizza le miniature ma non la foto grande.
Non sono sicuro, ma sembra che il provider abbia aggiornato la versione del PHP ( adesso il provider ha installato la vers. PHP 5.2.4  "Powered by Zend engine 2" ) in ogni caso non saprei qual'è il codice che non accetta più.
Ma poi non esiste un rimedio per far convivere entrambi i codici ? anche per le vecchie vers. ?
Questo è il PHP CODE
	Codice PHP:
	
$imagedir = $row_alb['cartella']; //The image folder
$columns = 4; //How many images displayed per line
$id=$row_alb['id_album'];
$pagina=$_SERVER['PHP_SELF'];
 if ($show != "") //show the current image if any
        {
            print "<img src=$imagedir/$show height='430' width='520'>
";
        } 
$i=0;
$handle=opendir($imagedir); 
while (false!==($file = readdir($handle))) { 
    if ($file != "." && $file != "..") { 
    
       print "<td >[url="$pagina?id_album=$id&show=$file"]<img src=$imagedir/$file border=0 height='50' width='60' >[/url]
</td>";
      ++$i;
      if($i == $columns) { print "</tr><tr>"; 
      $i = 0;
      }
    } 
}
closedir($handle); 
 
Grazie !!   
 
.