Paul-D Posted December 3, 2018 Share Posted December 3, 2018 Is there a server variable that holds the full url including the page name.php TIA Paul Quote Link to comment Share on other sites More sharing options...
gw1500se Posted December 3, 2018 Share Posted December 3, 2018 (edited) I think this is what you are requesting: $full_url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; Edited December 3, 2018 by gw1500se Quote Link to comment Share on other sites More sharing options...
requinix Posted December 3, 2018 Share Posted December 3, 2018 When in doubt, you can (unfortunately) use Shodan to find someone with a public phpinfo page. You can check them to see actual values in $_SERVER. Quote Link to comment 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.