Does anyone know how to decode IP addresses stored in the database, specifically IP in the xf_ip table? The format looks like it was changed in 1.3 or 1.4 to 8 digit hex, presumably to cope with IPv6.
I'm trying to convert the hex into a long IP to use in a country lookup table as part of a custom spam tool which runs externally to xenforo and compares actual country with the country entered as a required field during registration.
I'm trying to convert the hex into a long IP to use in a country lookup table as part of a custom spam tool which runs externally to xenforo and compares actual country with the country entered as a required field during registration.