You are here: Re: [PHP] Create a numeric hash from a text string? « PHP « IT news, forums, messages
Re: [PHP] Create a numeric hash from a text string?

Posted by Curt Zirzow on 11/14/05 21:06

On Mon, Nov 14, 2005 at 10:41:53AM -0800, Brian Dunning wrote:
> Does anyone know if there's a handy way to create a numeric hash from
> a text string? I'm trying to generate an integer as a sort of quick &
> dirty checksum for text strings. Needs to be a decimal integer, not
> hex or otherwise. Any clever ideas appreciated. :)

This should work for a dirty checksum:
http://php.net/crc32



Curt.
--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация