$url = "http://".$_SERVER['HTTP_HOST']."".$_SERVER['REQUEST_URI']."";
$find = array( '?marka=dene' );
$replace = '';
$output_url = str_replace( $find, $replace, $url );
?>


Şeklinde olabilir herhalde.