<?php
$enlace = "http://192.168.0.97/facturaelectronica/facturas/".$_REQUEST["documento"];
header ("Content-Disposition: attachment; filename=".$_REQUEST["documento"]."\n\n");
header ("Content-Type: application/octet-stream");
header ("Content-Length: ".filesize($enlace));
readfile($enlace);
?>