k2hpx_set_value
Sets the value
Description
bool k2hpx_set_value ( mixed $handle_res , string $key , string $value [, stringnull $subkey [, stringnull $pass [, int $expire ]]] )
Sets the value to the key.
Parameters
- handle_res
Specifies the k2hash (.k2h
) file handle that k2hpx_open returns. - key
Specifies the key to set the value. - value
Specifies the value. - subkey
Specifies the key(subkey) that links with the key. - pass
Specifies the password to encrypt the value. - expire
Specifies the duration to expire the value.
Return Values
Returns true on success or false on failure.
See Also
- K2hash::setValue - Sets the value associated with the key