title: How to get current PHP page name
body: <p>I've a file called <code>demo.php</code> where I don't have any GET variables in the URL, so if I want to hide a button if am on this page I can't use something like this:</p>
  
  <pre><code>if($_GET['name'] == 'value') {
    //Hide
  } else {
    //show
  }
  </code></pre>
  
  <p>So I want something like</p>
  
  <pre><code>$filename = //get file name
  if($filename == 'file_name.php') {
    //Hide
  } else {
    //show
  }
  </code></pre>
  
  <p>I don't want to declare unnecessary GET variables just for doing this...</p>