Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/07/2009, 21:21
lumiz
 
Fecha de Ingreso: junio-2008
Mensajes: 98
Antigüedad: 15 años, 11 meses
Puntos: 2
Galieria con funcion glob

Hace tiempo yo hice esta galeria:

Código PHP:
<?php
   $img
=glob("./screenshots/*.jpg");
   
$f="./screenshots/" .$_GET[Screenshot]. ".jpg";
   
$t str_replace("-"" "$_GET[Screenshot]);
       echo 
"<h1 align='center'>$t</h1><br>";
       echo 
"<a href='$f'><img width='400px' border='0' height='300px' src='$f'></a>";
       echo 
'<br><a href="Imagenes.php?Screenshot='.implode($img).'"><img width="100px" height="80px" border="0" src="'.implode('"> <img width="100px" border="0"  height="80px" src="',$img).'"> </a>>';
?>
Cual es el problema... en <a href="Imagenes.php?Screenshot='.implode($img).'"> nunca me va a cargar el enlace q yo quiero por que claro e sun array esto y me carga todos...