Using a sorted set makes it easier to sort from highest to lowest on the stats page.
Minor change how tracking is done on the index and link checking has been updated.
The vast majority of short links are only used once and forgotten about.
This gives people a choice to have links that expire (default 24 hours after creation).
This is also the first time that we use either coloumn other than the center one.
Since I will be using Redis from multiple files, the connection to the server should be in the same file as the other DB connection.
This icon looks a little bit better I think.
I was wondering why my script had suddenly stopped working and thought it was
a Redis problem.
Turns out that I was getting PHP parse errors and didn't check the logs
This is very basic where I check the Regis table to see if a short link exists
If not, query the mysql server and pull that result into Regis as linkID and link
I might make some modifications to this
As stated in the comments, I don't feel like rewriting the code to generate
the links, so I'm leaving it as is right now. I will work on it at a later
time