title: Get full page URL with PHP
body: <p>I am trying to get the entire page URL as a string in PHP - so, if the requested URL is <code>./foo.php?arg1=test&amp;arg2=test2</code>, I get <code>"./foo.php?arg1=test&amp;arg2=test2"</code>.</p>
  
  <p>I know that I can get the <code>./foo.php</code> part from <code>$_SERVER</code> and the variables from <code>$_GET</code>, but I was wondering if there's an easy way to do it in just one fell swoop.</p>
  
  <p>TIA.</p>