$_SERVER["PHP_SELF"]

Comunque, trovi tutto nelle variabili server, tramite phpinfo()