How can I get a variable from a self url? http://www.test.net/test.php?a=112/testing I just want to beable to grab a=112/testing
$external_url = "http://www.test.net/test.php?a=112/testing"; echo substr(strrchr($external_url, '?'),1); PHP: