搜尋 Mozilla 技術支援網站

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

Learn More

I try to open HTML file but it shows only HTML, not script.

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

more options

When I enter to script inspector instead of it shows <!-- ?php> Please help me.

由 cor-el 於 修改

所有回覆 (1)

more options

This means that this is a php file that needs to be processed by server software and then send by the server as an HTML file. Firefox doesn't know about php code and thus you do not the final HTML code. If this is a local file then you need to access via localhost.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題