Home > Backend Development > PHP Tutorial > 关于urlencode?解决方法

关于urlencode?解决方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:10:58
Original
959 people have browsed it

关于urlencode?
echo "张三";

?>
为什么连接后的地址还是index.php?name=张三?
这个urlencode()为什么没有对张三编码啊?
求各位指教啊.谢谢

urlencode
------解决方案--------------------
浏览器的功劳.你看到的而已.接受的页面输出一下你就知道了
------解决方案--------------------
因為瀏覽器已經自動幫你做了解碼的動作,你可以用下邊的代碼測試
Echo '';
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template