maxudaskin Posted March 8, 2009 Share Posted March 8, 2009 How can I get the page name, type and all supplied arguments? index.php?p=home&anotherVar=value $_SERVER['PHP_SELF'] only gives the page name and type (index.php). Is it possible to get the arguments?(index.php?p=home&anotherVar=value) Quote Link to comment https://forums.phpfreaks.com/topic/148433-php_self-with-all-arguments/ Share on other sites More sharing options...
opalelement Posted March 8, 2009 Share Posted March 8, 2009 Take a look at $_SERVER['QUERY_STRING'] Quote Link to comment https://forums.phpfreaks.com/topic/148433-php_self-with-all-arguments/#findComment-779279 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.