PATH_INFOは$_SERVERを使う