Not sure exactly what you're asking, but see the function md5()... it hashes a string (an int is automatically converted to a string if you feed it into this function).
Dave
===========================================
http://badblue.com
Free small footprint web server for Windows
P2P file-sharing, PHP, wireless apps & more