Hi. I was bored and wanted to code something in PHP, so I wrote this little URL shortening service. The code is available at Github. It needs some enhancements. Anybody is welcome to improve it
Advertisement
November 21, 2011 at 4:10 pm (Open Source)
Tags: github, linkshift, php, url shortening
Hi. I was bored and wanted to code something in PHP, so I wrote this little URL shortening service. The code is available at Github. It needs some enhancements. Anybody is welcome to improve it
sigtermer said,
November 22, 2011 at 9:34 am
lots of potential for abuse here, bo9lo7..
http://1sh.me/e or if you prefer http://1sh.me/c
but seriously though, why should I use your service if there many many services that do the same (and mind you, with better uptime too).
If you want my advice, offer something that’s not already out there. something like a shortened link that expires after a preset amount of time. (I might actually end up doing this if you don’t). something that differentiate you from the rest of the crowd.
also, like the minimalistic design and missing an arabic interface. good job though.
bo9lo7 said,
November 22, 2011 at 1:42 pm
e redirects to d and d redirects to e.. it won’t do a big damage.. it wastes time and resources of the server.. I can ban the shortening of 1sh.me links
..
c redirects to itself.. the same matter again I can ban to shorten self URLs.. but it is not such a big deal :p
I wanted to code a shortening service that does not ban me if I shortened a lot of links in a small time and report this action as spam
The project is open source that’s why everyone (including you) can modify/fix it or fork the whole project
thanks for reporting these bugs.. I’ll fix them
I’ll expose the shortening function as API and create a bookmarklet to shorten links on the go
sigtermer said,
November 23, 2011 at 1:08 am
you have mail.
bo9lo7 said,
November 23, 2011 at 1:04 pm
Got it.. thanks