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.
精彩评论