Viewing all posts tagged with php
February 02, 2020
There have been many services available with which to retrieve a clients GeoLocation, the most common that I have seen being FreeGeoIP. Today I'd like to share how you can go about retrieving this information using PHP.
It is worth noting that FreeGeoIP has been deprecated and IPStack has taken it's place. Luckily, the library I will be using in this post supports both FreeGeoIP and IPStack!
Firstly we need to make ...
February 01, 2020
Recently I wanted to create URL's that used words instead of integers for specific posts, however, these URL's needed to conform to three points.
Be completely unique.
Be repeatable with the same seed.
Be reversible back to their seed.
The idea of a numeric base (or "radix") is pretty simple, you have x number of digits to work with (in the most common base, base-10, you have 10 digits to work with: 0-9.) When y ...
Copyright © 2020