Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8519251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:11:53+00:00 2026-06-11T06:11:53+00:00

While rendering a PDF inside a frame in Firefox inline, the file name is

  • 0

While rendering a PDF inside a frame in Firefox inline, the file name is ignored (click on save as after the PDF opens, and the name of the frame is shown in the save box, instead of the file name). I tried header(‘Content-Disposition: inline; filename=abc.pdf’); – it doesn’t work. The same code works for attachment though, just doesn’t work for inline. How to fix this?

This is in PHP, FF 15 and on windows.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T06:11:54+00:00Added an answer on June 11, 2026 at 6:11 am

    You cannot set a file name while embedding the PDF in a frame or a browser tab

    • you change the title of the frame
    • you make another button for download where you force the user to download with your custom name
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While rendering a PDF file generated by PDFCreator 0.9.x. I noticed it contains an
I get: TemplateSyntaxError at /blog/post/test Caught NameError while rendering: global name 'forms' is not
I am receiving a StackOverflowError while rendering a JSF page. It happens after loading
My Browser shows URL with file name as http://www.example.com/pdf/204177_20090604_Chloorhexidine_DCB_oogdruppels_0%2C1%25.pdf Actual File name is 204160_20090604_Atropine_DCB_oogdruppels_0,5%.pdf
i am creating session while rendering the page. After that i am calling the
While rendering the view page, based on some condition in the controller action I
Do we need to do double buffering in BlackBerry while rendering our paint code
Most popular browsers, while rendering an image, they display it line-by-line top-to-bottom as it
I am using IE8 in compatibility view and while this does produce acceptable rendering,
I would like to make one of the div's hidden while rendring. After page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.