Ver Mensaje Individual
  #7 (permalink)  
Antiguo 30/09/2005, 06:20
Cluster
O_O
 
Fecha de Ingreso: enero-2002
Ubicación: Santiago - Chile
Mensajes: 34.417
Antigüedad: 22 años, 4 meses
Puntos: 129
Pero .. insisto .. tu has leido la documentación oficial de header()? .. tienes ejemplos ahí!!!!!!!!!

Código PHP:
<?php
// We'll be outputting a PDF
header('Content-type: application/pdf');

// It will be called downloaded.pdf
header('Content-Disposition: attachment; filename="downloaded.pdf"');

// The PDF source is in original.pdf
readfile('original.pdf');
?>
Lo entiendes? ..

Donde almacenas tus PDF? .. los tienes relacionados en tu BD (por lo menos ahí guardas el nombre del archivo? .. pretendes llamarlos simplemente por su nombre directo?

Un saludo,