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]
|