Forse a te interessava $_SERVER['PHP_SELF']