开发者

pass & character in a GET

开发者 https://www.devze.com 2023-02-07 17:50 出处:网络
How can i pass a & character in a get like this: script.php?file_name=A&a开发者_StackOverflowmp;O.jpgYou have to url-encode the char (as %26), see http://www.blooberry.com/indexdot/html/topics/ur

How can i pass a & character in a get like this:

script.php?file_name=A&a开发者_StackOverflowmp;O.jpg


You have to url-encode the char (as %26), see http://www.blooberry.com/indexdot/html/topics/urlencoding.htm

There are functions to do that in many programming langs, such as urlencode() in PHP.

0

精彩评论

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