[xyz-ips snippet=”ipaddr”]

This was accomplished by accessing the $_SERVER[‘REMOTE_ADDR’] variable.