title: $_SERVER['PHP_SELF'] shows different after writing .htaccess
body: <p>This is our site actual url</p>
  
  <p><a href="http://www.globalmedicalaware.com/gma-new/home.php?city=Chennai" rel="nofollow">http://www.globalmedicalaware.com/gma-new/home.php?city=Chennai</a></p>
  
  <p>i rewrite the url by using .htaccess following code</p>
  
  <pre><code>Options +FollowSymLinks
  RewriteEngine on
  RewriteRule /city/(.*) home.php?city=$1
  </code></pre>
  
  <p>Now the url rewrite to</p>
  
  <p><a href="http://www.globalmedicalaware.com/gma-new/home/city/Chennai" rel="nofollow">http://www.globalmedicalaware.com/gma-new/home/city/Chennai</a></p>
  
  <p>i written the code in column-right.php and in some other area like footer,..etc,.. this</p>
  
  <pre><code>if($_SERVER['PHP_SELF']=='/gma-new/home.php') {
  
  ------------   some designs and action to display the column right for home.php only -----------
  
   } 
  </code></pre>
  
  <p>in localhost for <code>$_SERVER['PHP_SELF']</code> shows <code>/gma-new/home.php</code>  correctly..</p>
  
  <p>but in live site  for <code>$_SERVER['PHP_SELF']</code> shows <code>city/Chennai</code>..so column right coding for home.php not working..</p>
  
  <p>please help me with this..</p>