
spork985 said:Your way of shortening is very inefficient. If I enter the same URL twice, I get two different links. Do a db lookup when the url is entered and see if it has ever been used before, before you generate a new link.
http://ezr.me/65
Fragma said:spork985 said:Your way of shortening is very inefficient. If I enter the same URL twice, I get two different links. Do a db lookup when the url is entered and see if it has ever been used before, before you generate a new link.
http://ezr.me/65
Why does that even matter? If for example someone wants to create a short link for this thread, then why shouldn't other people be allowed to do the same?
spork985 said:Fragma said:spork985 said:Your way of shortening is very inefficient. If I enter the same URL twice, I get two different links. Do a db lookup when the url is entered and see if it has ever been used before, before you generate a new link.
http://ezr.me/65
Why does that even matter? If for example someone wants to create a short link for this thread, then why shouldn't other people be allowed to do the same?
What I'm saying is if I enter http://creepyfrog.com and it gives me 65, then you go and enter the same url, it should also give you 65. I did it twice and got both 65 and 66. Imagine how many people are going to go enter http://google.com to test it. Once you start getting thousands of URLs, your database is going to grow and the larger it is, the less efficient it is.
Since 2007, Forum Promotion has specialized in providing advertising solutions to webmasters looking to promote their communities. We pride ourselves in being the bridge that connects forum administrators, bloggers, and more.
We use essential cookies to make this site work, and optional cookies to enhance your experience.