开发者

iframe in FireFox sometimes pops up a "Save As..." dialog rather than loading the frame

I integrate phpBB on my site using iframe. It mostly works seamlessly and all looks great.

Sometimes, for reasons开发者_如何学运维 I haven't figured out, the following page will not try to load the iframe in FireFox (will work on IE/Chrome) but instead open the "Save As..." (or open/save) dialog indicating the .php file has been served as text rather than as real php. Now I would gladly blame the server but this doesn't happen on some of my FireFox browsers and doesn't happen on other browsers. The link:

http://colnect.com/en/forum/index%21

Any ideas?

Thanks


It seems your server doesn't know how to parse PHP files, so it's thinking it's a file to download.

Do you have PHP installed on the server?

Update:

Seems you do. But try this:

Rather than:

http://colnect.com/en/forum/index%21

Do

http://colnect.com/en/forum/index.php


This happens beacuse your url ends with %21 which is encoded as "!" and so the file is not recognized or not readable by the browser.

Thus it offers to download the "!" extension file...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜