If I have PHP script, how can I get the filename from inside that script?
Also, given the name of a script of the form jquery.js.php
, how can I extract just the “jquery.js” part?
If I have PHP script, how can I get the filename from inside that script?
Also, given the name of a script of the form jquery.js.php
, how can I extract just the “jquery.js” part?