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