Generating Numbers from Strings

From: Date: Sat, 01 Nov 2003 00:37:32 +0000
Subject: Generating Numbers from Strings
Groups: php.general 
Request: Send a blank email to php-general+get-168241@lists.php.net to get a copy of this message
I've a bit of a problem, I want a random keyword pulled from my database. But I dont want it random all the time. I just want it random to each page. So I have the filename variable of the page. How do I somehow generate a 'constant' random number from this string that is constant to each file??? TIA

« previous php.general (#168241) next »