title: fetching the url in php
body: <p>my url is like below:</p>
  
  <p><a href="http://www.xyz.org/abc/list.php?id=1" rel="nofollow">http://www.xyz.org/abc/list.php?id=1</a></p>
  
  <p>now "$_SERVER['PHP_SELF']" gives me only "abc/list.php" this portion</p>
  
  <p>and "$_SERVER['REQUEST_URI']" gives me "abc/list.php?id=1" this</p>
  
  <p>now if i want to fetch only the portion "?id=1" how to do that.
  coz im having problems in the paging query for this.</p>
  
  <p>thanxx in advance...</p>