Get URL Parameters from referer
If tab=tab is in the URL then: global $_GET; var_dump($_GET); // debugging only; You should be able to see what you need. That is pure PHP. If your really need to process that string (I don’t know why your would) use parse_url then use parse_str on the query part of it. $path = parse_url($url); $path … Read more