Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php request uri

$url = parse_url($_SERVER['REQUEST_URI']);

if ($url != '/') {
    parse_str($url['query']);
    echo $id;
    echo $othervar;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #request #uri
ADD COMMENT
Topic
Name
2+7 =