搜尋 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.