Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/10/2004, 14:58
Cluster
O_O
 
Fecha de Ingreso: enero-2002
Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 22 años, 3 meses
Puntos: 129
Si, .. deberías usar cabeceras HTTP para entregar tu documento al navegador .. en concreto te haría falta usar algo tipo:
ver_doc.php
Código PHP:
<?php
header
('Content-type: application/msword');
header('Content-Disposition: inline; filename='.basename($_GET['archivo']."'");

readfile($_GET['archivo']);
?>
ver_doc.php?archivo=nose.doc

Porciones extraidas de:
www.php.net/header

Un saludo,

Última edición por Cluster; 19/10/2004 a las 14:59