Page 1 of 1

How to get Current filename

Posted: Mon Sep 07, 2009 10:27 am
by tequila27
Is there a function to return the name of the current file (the PHP file that's being executed)?

Re: How to get Current filename

Posted: Mon Sep 07, 2009 10:28 am
by jackpf
The __FILE__ magic constant? ;)