title: Detecting page filename using php?
body: <p>I am making a menu on a Wordpress template and need the menu to detect the current page and highlight it. So for instance, my menu is:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="index.php" class="current"&gt;Home&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="about.php"&gt;About&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>So if the user is on the About page, I want that one to have the "class=current". How is this possible? I hear using the <code>$_SERVER['PHP_SELF']</code> is possible? Please appreciate that I have zero knowledge in php coding, so kindly make any replies detailed.</p>