/trunk/client/cartographie/bibliotheque/lib.carto.extractimg.php |
---|
44,7 → 44,7 |
define("CAR_CHEMIN_TMP",'../../../tmp/carto/'); |
$image = imagecreatefrompng(CAR_CHEMIN_TMP.$_GET['fichier'].'.png'); |
chmod (CAR_CHEMIN_TMP.$_GET['fichier'].".png", 755) ; |
chmod (CAR_CHEMIN_TMP.$_GET['fichier'].".png", 705) ; |
header("Expires: Wen, 01 Dec 1999 01:00:00 GMT");// Date du passé |
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");// toujours modifié |