ああ失礼
同じか

$p = explode('/', $_SERVER['PATH_INFO']);
$p[1] に aaaaa って入ってると思う