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 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 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! Link to comment https://forums.phpfreaks.com/topic/158395-solved-get-full-link/#findComment-835341 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.