if (strpos($_SERVER['REQUEST_URI'], "car") !== false){ // car found }