Home
Paste
Show Key
Listed
Keep Editing
<?php $request = $_SERVER["REQUEST_URI"]; $reqParams = explode('/', $request); if(sizeof($reqParams) > 0 && $reqParams[0] == "") array_shift($reqParams); if(trim(end($reqParams)) === "") array_pop($reqParams);
<?php $request = $_SERVER["REQUEST_URI"]; $reqParams = explode('/', $request); if(sizeof($reqParams) > 0 && $reqParams[0] == "") array_shift($reqParams); if(trim(end($reqParams)) === "") array_pop($reqParams);