alvaroxz Posted September 10, 2008 Report Share Posted September 10, 2008 (edited) script que elimina automaticamente el cache de la imagen vista por el usuario, muy util para la administracion de imagenes... imagen.php <?php $camino = "img/"; //lugar donde se encuentra la imagen debe terminar con / 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']); ?> para que la img no sea cacheada tienes que hacer lo next-> http://tu_pagina/imagen.php?=tu_img.jpg Edited September 10, 2008 by alvaroxz Link to comment Share on other sites More sharing options...
magno Posted September 28, 2008 Report Share Posted September 28, 2008 uhhh que entrete.. eso no lo sabia. loco: Link to comment Share on other sites More sharing options...
karloncho_20 Posted October 1, 2008 Report Share Posted October 1, 2008 Gracias ta wena wn de le agradece! 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