左右。 - mbstevens http://www.mbstevens.com/A number of URI characters must be encoded, one of which is "#".Use "%23" for it. Google "URI encoding" for more detail.If you don''t know about this already,you _may_ also have written your script in a way thatcrackers can get into easily.Google for "Perl detainting" and "Perl CGI security" and such.Be sure to use cgi.pm instead of your own cgi interface -- ithas many security checks built in that you may not have thoughtabout.--mbstevens http://www.mbstevens.com/ 我知道它(其他相关字符)编码)但是 - 在这种情况下 - 脚本不在面向公众的网站上而且我不会b / b 在任何公共场合使用这种脚本facin g。谢谢你。' CrimpermanI did know about it (the other relevant characters are encoded) but -in this case - the script is not on a public facing site and I don''tuse this kind of script on any of the public facing ones. Thanks tho''.Crimperman 他们应该只在任何地方工作。您的链接目标是什么样的? < a name =" #foo"> ...< / a>是一个常见的错误(名字中不应该有#字符 )。 - David Dorward< http://blog.dorward.me.uk/> < http://dorward.me.uk/> 首页是〜/ .bashrc的位置They should just work everywhere. What does your link target look like? <aname="#foo">...</a> is a common mistake (there shouldn''t be a # characterin the name).--David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>Home is where the ~/.bashrc is 这篇关于在单个URI中指定锚点和cgi参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-11 04:47