开发者

How to avoid Internet Explorer script error

开发者 https://www.devze.com 2022-12-21 21:56 出处:网络
I\'ve created a VB.net program that navigates web pages with the help of a t开发者_运维知识库utorial I found on the net.

I've created a VB.net program that navigates web pages with the help of a t开发者_运维知识库utorial I found on the net.

Now I'm trying to navigate the PHP scripts that I've created. But there is always this Internet Explorer script error that I am seeing. Which I do not see when I access the PHP scripts on Firefox - or in any other browser. What do I do with this, what might be the cause?

I cannot use the browser's because I'm not yet good at designing in PHP so I use VB.net as my interface.


Without knowing the "this" in your "there is always this internet explorer script error that I am seeing":

You are aware that PHP scripts need to be executed by the server, for example by Apache with mod_php? When not having the server execute the PHP code, your browser will not get just HTML, but also the non-executed PHP code that is still embedded within that HTML, which it does not understand. So: where does your program fetch the PHP files from?

(If I understand your problem correctly then you would see the same effect when just dragging local PHP files into your browser, without using any server. Does that indeed give you the same problem?)


Turn off script error notifications.

Uncheck "Display a notification about every script error":

How to avoid Internet Explorer script error


Click for larger image

That way you won't see script errors in Internet Explorer.

0

精彩评论

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

关注公众号