<?PHP $address = getenv("REMOTE_ADDR"); print "あなたのIPアドレスは"."<br />"; print $address."<br />"; print "です。"; ?>