Eggzorcist Posted August 30, 2009 Share Posted August 30, 2009 How can I get the entire link in a string with the $_GET extensions... Any ideas? Quote Link to comment Share on other sites More sharing options...
ignace Posted August 30, 2009 Share Posted August 30, 2009 $scheme = !empty($_SERVER['HTTPS']) && 'on' === $_SERVER['HTTPS'] ? 'https' : 'http'; $url = $scheme . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; print "<a href="doc.php?url=$url">clickie</a>"; Quote Link to comment Share on other sites More sharing options...
Eggzorcist Posted August 30, 2009 Author Share Posted August 30, 2009 thanks! 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.