Puddinq.com sharing knowledge

Strip query request from url

Strip query request from url

$uri = trim(strtok($url, '?'));