I am looking to use a URL shortening scheme where I would like the variable to be in the first segment of the URL, www.example.com/0jf08h204. My default controller is \"home.php\" and I have .htaccess
I\'m coding an url shortener function for a project in which I\'m learning php, here is the code (btw I suppose that global here is not a good thing to do :P):
I would like to be able to generate custom bit.lys (http://bit.ly/thecakeisalie t开发者_运维问答ype things) through their API.This does not appear to be possible, but I thought I\'d check; does anyone
I am trying to use URL shortening service in my app. However, I want to expose my custom tinyURL domain rather than the one of the services. For this, I\'ve done the following:
I\'m creating a link shortening service and I\'m using base64 encoding/decoding of an incremented ID field to create my urls. A url with the ID \"6\" would be: http://mysite.com/Ng==
Replacing the urls in a block of plain text is done by looking for url regular expressions. I开发者_Go百科 am using string.gsub(regex, \"\\1\") to achieve the same.
first of all, I want to assure that I\'m aware of the fact, that rehashing is a sensible topic. However I\'d like to hear some of your opinions, what approach you would take here.
i want to uniquely shorten strings-file ids to use in urls like the ones on bit.ly etc. I can use ids from a db but i want urls to be random like.
I am a novice programmer at best, but I am trying to play a prank on a friend.Basically, there is a url shortener that he is using to redirect to a rickroll page, and the url shortener has a statistic