Description
array_sign adds a digital signature to an array which may ve validated later.
Parameters
$inArray: The input array. [type:array]
Return Values
On Success: The signed array [type:array] On Failure: False[type:boolean]
Notes
The signature can be found in the array field 'monju_hash' - this is mainly for internal use, although you may feel free to use it as you see fit.
Examples
$arr = array('some', 'datat', 'here'); $signed = array_sign($arr); // we can now validate $signed and make sure no data has changed since it was signed
Dependencies
Nonep
array_verify($inArray)
Verifies the digital signature of an array.
get_ip()
Tries several different methods to get the most accurate IP possible.
get_signature()
Gets a signature of a user by combining the users browser useragent string and ip.
monju_include($path)
'include's a file if it is within the set base directory.
monju_include_once($path)
'include_once's a file if it is within the set base directory.
monju_require($path)
'require's a file if it is within the set base directory.
monju_require_once($path)
'require_once's a file if it is within the set base directory.
If you notice a mistake in the documentation, instead file a bug report in the issue tracker. Instead use this to add tips and tricks associated with the functions. You can use tags like to keep your comments clear.