简体   繁体   中英

Internet Explorer Returns Error:404 upon loading a PHP webpage?

My website has a login page which is in the PHP format, it includes HTML code below the PHP code to display the webpage, This works fine in Chrome or Firefox, but in IE I get the error:

The webpage cannot be found

What is happening? Before this started, IE displayed the webpage with bad formatting.

Is the page quite small, with not much content?

When you view source in Internet Explorer, do you see the actual page content?

It's quite possible that the page is returning a 404 Not Found header. In that case, if the page content is small, Internet Explorer will show its own error message, instead of the page content. Firefox and other browsers will show the page content even if there are error messages. So will IE if the page content is large (I can't remember the actual number of bytes required).

I would suggest you use the Live HTTP Headers plugin for Firefox, or some other means to investigate the actual HTTP Headers returned by your script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM