title: Get the current script file name
body: <p>If I have PHP script, how can I get the filename of the currently executed file without its extension?</p>
  <p>Given the name of a script of the form &quot;jquery.js.php&quot;, how can I extract just the &quot;jquery.js&quot; part?</p>