http://www.mp4-players.org
http://www.shiji.net
http://www.bluetoothproduct.net
http://www.thecardvd.com
这些都是老外的网站他们是杂把URL的%20替换成-符号的,我的http://www.justmp5player.com网站就弄不成为什么呀
http://www.shiji.net
http://www.bluetoothproduct.net
http://www.thecardvd.com
这些都是老外的网站他们是杂把URL的%20替换成-符号的,我的http://www.justmp5player.com网站就弄不成为什么呀
把空格替换了就可以了
你可以用这些函数处理
urldecode:解码
urlencode:编码
str_replace :字符串替换
$url = str_replace(' ', '-', $url);
$url = str_replace('%20', '-', $url);2. 使用 rewrite 规则将 URL 中的 '-' 还原成 '20%'。