Building an special software for a client I realize I need a way to transform a numeric ID into short alphanumeric case sensitive ID, after looking into the web I found a great script that accomplish that purpose, I know YouTube and many other services for URL Shortening use this technique so then I ask myself “it wouldn’t be great if anyone can have a personal URL Shortener in their site?” and in just 4 hours I make a little clone of a very famous URL Shortener service. It’s not a perfect clone, but works great:
I have done most of the end-user side (front-end) but I didn’t make any admin side (back-end), so if you want to contribute and make a good admin to see statics or add more functionality like an admin panel to add, modify, remove anything and block IPs you are welcome, I just don’t have the time right now and I use a SQL GUI for this purpose.
If you want this software first you need a server that runs:
- mod_rewrite enabled
Then you can follow these instructions:
- Download and unzip the current version of the software.
- Copy the entire directory to your the directory where you want to install the URL shortener
- Run the install.php in your browser and fill all the information needed.
- That’s it! You’re done. You can now generate test your own URL shortener.