php获取当前URL地址和参数
http://biao.lequj.com/pin-index-cat-6-tag-Casio/%E5%8D%A1%E8%A5%BF%E6%AC%A7.html
php如何获取tag-后面的参数
------解决方案--------------------
$str = 'http://biao.lequj.com/pin-index-cat-6-tag-Casio/%E5%8D%A1%E8%A5%BF%E6%AC%A7.html'; preg_match('/tag-(.*).html$/i', $str, $match); if (isset($match[1])) echo urldecode($match[1]); <div class="clear"> </div>