PHP Obtener nombre de ruta de URL

parse_url( $_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH );
Yoshkinawa