You are here: Re: DIY Tiny URL? « HTML « IT news, forums, messages
Re: DIY Tiny URL?

Posted by Rob McAninch on 12/27/05 04:57

David Segall>:
> I sometimes I post or email a link to a page on my web site. I would
> like to make it as short as possible [...] Any suggestions?

Well if you do this with a lot of links. Run them through a database.

e.g. example.com/link?0001

Where 0001 gets looked up in a database for its actual location. You
could do it with Perl/PHP and MySQL or perhaps a simpler database or
even a flat text file (but I'd look into using the Perl DBI from the
beginning so you have room to grow from a text file to a RDBMS.

--
Rob McAninch
http://rock13.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация