On Mon, Jan 29, 2001 at 11:48:46PM -0800, Todd Grigsby wrote:
> 
> > 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.

I was considering using MD5 or something similar if I need to... But I
may have found a way around the problem (for now).

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 328-7878    Fax: (408) 530-5454
Cell: (408) 439-9951

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