Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/04/2003, 08:37
Axo
 
Fecha de Ingreso: abril-2003
Ubicación: Virtual
Mensajes: 953
Antigüedad: 21 años
Puntos: 7
Código PHP:
<?
    $result 
mysql_query("SELECT * FROM $tabla WHERE ID='$ID'",$link);
    
        while (
$row mysql_fetch_array($result))
    
    {
 
$archivo=$row["url"];

    }

header("Content-Type: application/download\n");
header("Content-Disposition: attachment; filename=$archivo");

?>

No sale, simplmente se abre la pagina y se queda sin descargar nada.