Hola abimaelrc, gracias de verdad por tu ayuda.
Veraz, si kito esta parte:
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');
?>
El PDF me lo genera en pantalla, y se ve como debe de ser, pero si lo agrego, me regresa lo ke te comente, supongo que el problema esta en como manda el header o algo en el mismo, estoy revisandolo pero no logro dar con el problema, cualquier ayuda es bienvenida XD gracias !!!
EDITO:
Acabo de ver el error log y encontre esto:
Código:
[24-Nov-2009 13:32:53] PHP Warning: readfile(original.pdf) [<a href='function.readfile'>function.readfile</a>]: failed to open stream: No such file or directory in /home/user/public/test/pdf/mysqlpdf.php on line 9
[24-Nov-2009 13:32:53] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/user/public/test/pdf/mysqlpdf.php:9) in /home/user/public/test/pdf/fpdf.php on line 1017