![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/03/2009, 13:37
|
| | Fecha de Ingreso: marzo-2009
Mensajes: 55
Antigüedad: 15 años, 10 meses Puntos: 0 | |
Respuesta: Detectar variable Estimado David, he puesto esto en el descargar.php
<?php
$_GET['$picturepath']
$_GET['$picture']
Header ( "Content-Type: application/octet-stream");
Header ( "Content-Length: ".filesize('$picturepath'));
Header( "Content-Disposition: attachment; filename=$picture");
readfile('$picturepath');
?>
y el navegador me dá error en
descargar.php on line 3
Gracias |