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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now