Home
Paste
reqest_params
(listed)
20.11.2018 21:02:01
(5 lines)
[Edit]
[Raw]
[MD]
<?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);
<?php $request = $_SERVER["REQUEST_URI"]; $reqParams = explode('/', $request); if(sizeof($reqParams) > 0 && $reqParams[0] == "") array_shift($reqParams); if(trim(end($reqParams)) === "") array_pop($reqParams);