可能重复:
input type=image name and value not being sent by ie and opera
我是PHP / HTML的新手(这是我第一次使用它),我正在开发一个小项目,为我的世界玩家制作动态签名。小的PHP脚本与谷歌浏览器,Firefox,甚至ipad上的safari一起工作。然而,当我在Internet Explorer上测试时,它无法正常工作。
我已经在pastebin上发布了我的代码,因为有很多:http://pastebin.com/nsyQ4B6q
似乎错误发生在第44行。没有实际错误,但这是IE上没有的工作。
Google Chrome上的最终输出为:/index.php?player = Notch& img.x = 183& img.y = 54& img = 1Dirt.png并正确加载签名。
Internet Explorer的最终输出是:index.php?player = Notch& img.x = 56& img.y = 51
似乎是& img = 1Dirt.png的任务,没有任何反应,页面保持不变。