Ehm... no, la funzione corretta è:
Codice PHP:
echo basename($_SERVER['PHP_SELF']);