o'right thank for the solutions. I just try to modify my parsing code like this:
if($_SERVER['QUERY_STRING'] == "cPub=Hits&cID=&part=$_GET[part]")
{
$lastParsed = ".html?cPub=Hits&cID=&part=$_GET[part]";
}
else
{
$lastParsed = ".html";
}
$URLID = str_replace(ABSOLUTE_PATH . PHOTOSHOP_PATH ,'', $_SERVER["REQUEST_URI"]);
$URLID = str_replace("$lastParsed",'', $URLID);
the problem at $lastParsed variable, without change my .HTACCESS
thanks 🙂