ERROR! no es posible descargar $f"); } //echo $_SERVER['DOCUMENT_ROOT'].'/'.$f; header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=\"$nombre_descarga[2]\""); $fp=fopen($_SERVER['DOCUMENT_ROOT'].'/'.$f, "r"); fpassthru($fp); ?>