PHP Salt


A little dash of PHP... my collection of php functions

Version: 2.24.1
Last Build: May 09, 2019 21:57pm (PST)

Main Menu

Home

Get PHP Salt


The Functions

array
db
file
graph
html
mail
math
misc
mobile
script
string
system
time
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:


See Also

  psUniqKey()
  psUniqKeyTxt()
And a shot out to:

PHP - php.net
Fedora Server - getfedora.com
Shameless ads to pay for site