nut*_*les 4 php encoding ascii urlencode
我有一个页面链接来自rss.他们是:断链
http://news.asiaone.com/News/Latest%252BNews/Singapore/Story/A1Story20121220-390687.html
Run Code Online (Sandbox Code Playgroud)
工作环节
http://news.asiaone.com/News/Latest%2BNews/Singapore/Story/A1Story20121220-390687.html
Run Code Online (Sandbox Code Playgroud)
我意识到它的工作原理是将%252B更改为%2B.即时通讯使用PHP.有没有办法在跑步中检测并纠正它?
sk8*_* ツ 0
使用“url解码”
echo urldecode("http://news.asiaone.com/News/Latest%252BNews/Singapore/Story/A1Story20121220-390687.html");
Run Code Online (Sandbox Code Playgroud)