EchoFool Posted July 4, 2010 Share Posted July 4, 2010 Hey, Does any one know if there is a PHP function that can get the URL like PHP_SELF does but also bring the GET part of the url with it. Like index.php?get=hello ? Quote Link to comment https://forums.phpfreaks.com/topic/206666-get-url-with-gets-included/ Share on other sites More sharing options...
premiso Posted July 4, 2010 Share Posted July 4, 2010 http://www.php.net/superglobals Look under the $_SERVER variable. Should have what you are looking for. Quote Link to comment https://forums.phpfreaks.com/topic/206666-get-url-with-gets-included/#findComment-1080884 Share on other sites More sharing options...
AbraCadaver Posted July 4, 2010 Share Posted July 4, 2010 http://www.php.net/superglobals Look under the $_SERVER variable. Should have what you are looking for. Most likely: $_SERVER["REQUEST_URI"] Quote Link to comment https://forums.phpfreaks.com/topic/206666-get-url-with-gets-included/#findComment-1080886 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.