#网址在php 5.2中被忽略 [英] # in url getting ignored in php 5.2

查看:55
本文介绍了#网址在php 5.2中被忽略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有php 5.2. URL中的#被PHP忽略.任何人都知道为什么.

I have php 5.2. The # in the URL is getting ignored by PHP. Anyone knows why.

例如,如果网址是

=> http://localhost?a = b# =

=">http://localhost?a=b#=

我只看到a = b

推荐答案

#字符具有使浏览器加载http://localhost?a=b并跳转到具有"test"的idname的元素.该部分永远不会发送到服务器.

causes the browser to load http://localhost?a=b and jump to the element with the id or name of "test". That part is never sent to the server.

这篇关于#网址在php 5.2中被忽略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆