My question content actually did cover this. Q2A is built with slash-separated Url scheme. I created a function that deals with raw variable $_SERVER['REQUEST_URI']. Maybe a cultured PHP student can handle this nicely. I am not, don't even have a background in IT.