Php Get Current Url Path Without Query String To Json