web_master Posted May 16, 2009 Share Posted May 16, 2009 hi, I got a link: http://192.168.1.2/portas/AdminPortas/index.php?cnt=UplHistory This result to request one form (post method). How can I "get" this link because the $_SERVER['PHP_SELF'] dont work. thnxs Quote Link to comment https://forums.phpfreaks.com/topic/158395-solved-get-full-link/ Share on other sites More sharing options...
wildteen88 Posted May 16, 2009 Share Posted May 16, 2009 Use $_SERVER['REQUEST_URI'] to include the full url. PHP_SELF does not include the query string Quote Link to comment https://forums.phpfreaks.com/topic/158395-solved-get-full-link/#findComment-835333 Share on other sites More sharing options...
web_master Posted May 16, 2009 Author Share Posted May 16, 2009 Use $_SERVER['REQUEST_URI'] to include the full url. PHP_SELF does not include the query string Thank You, Its work! Quote Link to comment https://forums.phpfreaks.com/topic/158395-solved-get-full-link/#findComment-835341 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.