> In this particular case it doesn't. I need to ensure that each URL
> exists only once. And it is entirely possible to have a URL with 300
> characters in it.

Ok, how about encoding it?  Come up with a simple compression algo that
uses 6 bits for every 8 bits, allowing for a-z, A-Z, slashes, dots,
dashes, etc., for a total of 64 different characters.  You could squeeze
341 characters into the 256.

Or you could slam your thumb in the door.  The pain is similar albeit
more localized...

Good luck.

Todd Grigsby

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to