為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

PHP not working in Firefox, but it does in IE. Why?

  • 3 回覆
  • 24 有這個問題
  • 19 次檢視
  • 最近回覆由 bakfanlin

more options

I am a web design student and a class assignment required me to build a PHP contact page. I have tried using the contact page, but is not working in Firefox. I checked and rechecked the coding, and found no errors. My PHP works in Internet Explorer, so I do not think my coding is in error. But the same PHP does not work in Firefox 6.0.2. My student Web space is in Art Institute Online Division.

I am a web design student and a class assignment required me to build a PHP contact page. I have tried using the contact page, but is not working in Firefox. I checked and rechecked the coding, and found no errors. My PHP works in Internet Explorer, so I do not think my coding is in error. But the same PHP does not work in Firefox 6.0.2. My student Web space is in Art Institute Online Division.

所有回覆 (3)

more options

The fact that it works in Internet Explorer does not mean that it is error free because Internet Explorer does not check mutch on errors. IE displays anything that looks like a webpage, while Firefox is very precise and only displays pages that are 100 percent error free. There can still be some coding errors or you may be sending the page with some bad headers for example the wrong MIME type. So you need to check what Firefox is actually receiving.

more options

You are loading that PHP file via a local server because Firefox doesn't process PHP code?

more options

The question mark at the end of your statement would indicate that you are asking me that queston. Humm... not sure how to answer. The HTML, CSS and PHP documents are loaded in my student web space. I open them in Firefox and Internet Explorer. In Firefox, when I click SEND on my Contact page on my site, I get the confirmation page that says my message has been sent, but receive no email of the contents of the contact page. When I do the same thing in Internet Explorer, I get the Confirmation page that my message has been sent, and I get the email in my inbox that came from the Contact page form. It is working in IE, but not working in FF. Its frustrating. I'm using IE9 and FF6.0.2. Thank you for your assistance.