DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Generate ID Via Slug Data

11.04.2010
| 2229 views |
  • submit to reddit
        // this is very usully for slug fields


printf("%u", crc32(md5( $slugField )));