Mário Gamito wrote: > Ok, > > I don't get the warnings anymore, but the PDF is still being displayed > with its binary code inside in the PHP page: > > "%PDF-1.4 %âãÏÓ 351 0 obj <> endobj xref 351 434 0000000016 00000 n > 0000010281 00000 n 0000010417 00000 n 0000010574 00000 n 0000010607 > 00000 n 0000012850 00000 n 0000012884 00000 n 0000013037 00000 n > 0000013174 00000 n 0000013704 00000 n 0000014104 00000 n 0000014488 > 00000 n 0000014700 00000 n 0000014747" > > Something must be wrong with the definition of the file type. if you know that there *must* be something wrong with the definition of the file type why not go and search around for answers related to generating download headers? the list is here to help, not spoonfeed. > Warm Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php