psCreatKey() Create Key
Description:
This function generates a NON-UNIQ key from a mixed set of data. This will allow you to generate cache file names, etc..
Usage:
psCreateKey(MIXED);
Example:
$mix[0] = 'test'; $key = psCreateKey($mix); print ":$key:\r\n";
Code:
function psCreateKey($mixed) { $res = md5(serialize($mixed)); return $res;
}
Changlelog:
|
|