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 ? 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. 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"] 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
Archived
This topic is now archived and is closed to further replies.