开发者

pass & character in a GET

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜