0
tinyurl (small url, short url) script

/t5/coldfusion-discussions/tinyurl-small-url-short-url-script/td-p/1066451
Sep 25, 2006
Sep 25, 2006
Copy link to clipboard
Copied
Hi all,
Has anyone out there developed a tinyurl script that runs on cf? There are several version availble out there for php, but my ISP's set up has CF and PHP mutually-exclusive from each other on the same server. Basically, I want to be able to turn an URL like http://www.mydomain.com/query.cfm?id=54687856456454545645645624564564234544sd54fdsfw5e4r654265445623... into http://www.mydomain.com/123.
Can anyone please help? Thank you very much.
Has anyone out there developed a tinyurl script that runs on cf? There are several version availble out there for php, but my ISP's set up has CF and PHP mutually-exclusive from each other on the same server. Basically, I want to be able to turn an URL like http://www.mydomain.com/query.cfm?id=54687856456454545645645624564564234544sd54fdsfw5e4r654265445623... into http://www.mydomain.com/123.
Can anyone please help? Thank you very much.
TOPICS
Advanced techniques
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/coldfusion-discussions/tinyurl-small-url-short-url-script/m-p/1066452#M95914
Sep 25, 2006
Sep 25, 2006
Copy link to clipboard
Copied
Check out the
tinyURL cfc.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/coldfusion-discussions/tinyurl-small-url-short-url-script/m-p/1066453#M95915
Sep 26, 2006
Sep 26, 2006
Copy link to clipboard
Copied
MikerRoo,
Thank you for the reply. Will it return an URL with the tinyurl.com domain name or my own domain name?
Thank you for the reply. Will it return an URL with the tinyurl.com domain name or my own domain name?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

Guest
AUTHOR
/t5/coldfusion-discussions/tinyurl-small-url-short-url-script/m-p/1066454#M95916
Sep 26, 2006
Sep 26, 2006
Copy link to clipboard
Copied
It uses tinyurl.com.
It should be pretty simple to roll your own tiny url generator: You just need one DB table and two functions.
Keep in mind that studies show it is usually better to use short, understandable urls like: http://mysite.com/history/sernum/1234?page=2 .
It should be pretty simple to roll your own tiny url generator: You just need one DB table and two functions.
Keep in mind that studies show it is usually better to use short, understandable urls like: http://mysite.com/history/sernum/1234?page=2 .
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

