|
|
|
|
Functions
Events
Variables
Libraries
|
|
Syntax
| str_encrypt(String, urlFriendly) |
Parameters
| STRING | String | String to encrypt.
| | BOOL | urlFriendly | Optional. Default is false. Set to true if the string contains only alphanumeric and numeric characters. |
Return value
No value is returned.
Description
Encrypts a script using a basic algorithm.
This function is useful to save a password or any confidential information in the application memory. For more info: mio_data_save.
If the optional parameter urlFriendly is set to true, characters other than numeric and alphanumeric are preserved in the returned string. The string can be sent via an URL as no special character is used.
When urlFriendly is not true, the string is escaped.
It is possible to decrypt the string from a PHP server with str_decrypt.
See also: str_decrypt |
|
|
|