Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

tinyurl (small url, short url) script

Guest
Sep 25, 2006 Sep 25, 2006
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.
TOPICS
Advanced techniques
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 25, 2006 Sep 25, 2006
Check out the tinyURL cfc.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 26, 2006 Sep 26, 2006
MikerRoo,

Thank you for the reply. Will it return an URL with the tinyurl.com domain name or my own domain name?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 26, 2006 Sep 26, 2006
LATEST
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 .


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources