1. cliveportman
  2. /code
  3. /get-visitors-ip-address-within-a-craft-cms-template-without-a-plugin

Get visitor's IP address within a Craft CMS template without a plugin

Ideal for those instances when I just gave to work on a live site:



Hat tip to myself asking about this on Craft's Stack Exchange channel.