PHP Salt


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

Version: 2.20.2
Last Build: October 16, 2017 12:40pm (PST)

Main Menu

Home

Get PHP Salt


The Functions

array
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:

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