joined:Jan 8, 2010
Let's say I have a number between 100,000 and 999,999 (1 less than a million, that is)
What would be the cleanest way to 'compress' them into something smaller?
I only want to have A-Z/a-z or even A-Z/a-z/0-9
I'm thinking of changing character set to a lower size, but how do I do that in php?
The result of compressing '234567' would give something like 'AfE4'
Decompressing 'AfE4' would give me back '234567'