Page 1 of 1

How to beautify URL string in email?

Posted: Tue Feb 08, 2005 12:52 am
by myleow
I have a URL string say

Code: Select all

http://www.devnetwork.net/invitation.php?value=fdsafdsGFDS43r34GDFsgfdar43gdhjkahfdjsakfds8a978349rhjkfadjsakfldsja
The value contains an MD5 encoding that i need to match with DB. Is there a way to beautify it so that its not that long? In an email it looks horrible.

Regards
Mian

Posted: Tue Feb 08, 2005 12:57 am
by feyd
I'm guessing this is a plain text email? If so, unless you change the information needed to a more simple form, there's pretty much nothing you can do.. that I know of.

There's a potential to use tinyurl. Or breaking the md5 hash into smaller chunks and using mod_rewrite to hit the proper url.. that's about it.

Posted: Tue Feb 08, 2005 1:09 pm
by myleow
oh its just like an associative array to match the tiny redirection to the real URL.

That's do-able if needed to make it shorter.