![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
25/12/2007, 18:55
|
| | Fecha de Ingreso: noviembre-2007
Mensajes: 203
Antigüedad: 17 años, 2 meses Puntos: 0 | |
Re: como descargar archivos .jpg sin que se abra en el navegador hola, puedes utilizar esto:
<?
header("Content-type: application/force-download");
header("Content-disposition: attachment; filename=loquequieras.jpg");
@readfile('imagen.jpg');
?> |