I just found out that the generated file, though with .pdf extension, is actually an HTML file. The file was never encoded to PDF.
What am I missing?
You need a PDF file library...
http://www.php.net/manual/en/ref.cpdf.php http://www.php.net/manual/en/ref.pdf.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php