Msg#: 4207951 posted 10:00 am on Sep 29, 2010 (gmt 0)
I'm thinking of changing character set to a lower size, but how do I do that in php?
While not nearly as simple as using base_convert, I posted a "NumberEncoder" class example a while back which you may be interested in, or not. It is a bit lengthy (heavily commented), though offers ability to use character combinations which would not be easily decodable without knowing the original 'key' used to initialize the class. You can find it here: class NumberEncoder [webmasterworld.com] (be sure to read my follow-ups there, and replace the 'decode' method with my last entry there)