alvaroxz Posted June 29, 2008 Report Share Posted June 29, 2008 cerren un archivo de php que se llame mostrar_imagen <?php $camino = ""; header("Content-Type: image/jpeg"); header( "Expires: Mon, 20 Dec 1998 01:00:00 GMT" ); header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" ); header( "Cache-Control: no-cache, must-revalidate" ); header( "Pragma: no-cache" ); @readfile($camino.$_GET['imagen']); ?> ahora la imagen para mostrar deben colocarla asi: <img src="ver_imagen.php?imagen=EL_NOMBRE_DE_LA_IMAGEN_AKA.jpg"> y eso seria todo, esto es bueno para hacer refresco de las imagenes sin eliminar TODO el cache, y si ocupas sesiones, para no cerrarlas a causa de la eliminacion de la cache... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now