Pdf file I've got is always 1KB and cannot open with adobe reader correctly. The error shows by adobe reader when I tried to open is "Adobe Reader could not open 'google.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
Please let me know which part I missed? or give me some suggestion please.
(Note: without the 2 header() lines, the file has not been forced to download, so I put it as you mentioned in https://pdfcrowd.com/forum/archive/read/?3,143)
By the way, thanks for your hard working to give us a nice and easy tool like this! :)
outputs the number of the remaining tokens instead of the generated PDF. The browser assumes that it is a PDF and saves it to a file. Of course, a PDF viewer can't read it since the file contains only a single number.
wrote on 2011-03-17:
Thanks a million! It works now, hoorayyyyyyyyyyyyyyy ^^