PHP: Get visitor country via Cloudflare CF-IPCountry header.

This is a PHP tutorial on how to retrieve a visitor’s country code from Cloudflare’s CF-IPCountry header.