Jump to content

.pdf downloads as binary file in the browser


linkhostmedia

Recommended Posts

Has anyone run into the problem of trying to download say, an invoice as a pdf and the browser telling you it's a Binary File? If that's the case, your only option is to save it, rather than being able to open it directly from the download dialog box.

 

This usually is due to the fact that the script is telling the browser what MIME type to use. Is this a bug in WHMCS? Where would I look for the script that's actually forcing this download?

 

Any help is appreciated.

Cheers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated