Ver Mensaje Individual
  #13 (permalink)  
Antiguo 27/03/2009, 13:37
flatron666
 
Fecha de Ingreso: marzo-2009
Mensajes: 55
Antigüedad: 15 años, 1 mes
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