搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I open .php files as a pdf. Can do it in Safari, not in FF

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I have tried opening a file from a web page that downloads as a .php. When I open it, it comes up as jibberish (to me), not as a pdf. If I use Safari, it comes up as a pdf in the proper format. Thanks in advance.

I have tried opening a file from a web page that downloads as a .php. When I open it, it comes up as jibberish (to me), not as a pdf. If I use Safari, it comes up as a pdf in the proper format. Thanks in advance.

被選擇的解決方法

You can rename the file in Finder and add a .pdf file extension if it currently has a .php file extension.

Best is always to check the file name when you download and save a file to make sure that the file has the correct file extension to prevent such issues.

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

選擇的解決方法

You can rename the file in Finder and add a .pdf file extension if it currently has a .php file extension.

Best is always to check the file name when you download and save a file to make sure that the file has the correct file extension to prevent such issues.

由 cor-el 於 修改

more options

ccarterdvm said

I have tried opening a file from a web page that downloads as a .php. When I open it, it comes up as jibberish (to me), not as a pdf. If I use Safari, it comes up as a pdf in the proper format. Thanks in advance.
more options

It automatically saves the file to the downloads folder

more options

If this happens a lot then you can consider to disable automatic saving in the download settings in Options/Preferences > General (Always ask me where to save files).