codice:
echo array_pop(explode("/",$_SERVER['SCRIPT_NAME']));