Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

generate_share_key()

Description

Generates an external share key based on provided string

Parameters

ColumnTypeDefaultDescription
$string string

Return

string Generated key

Location

include/collections_functions.php lines 5670 to 5673

Definition

 
function generate_share_key($string)
    {
    return 
substr(md5($string "," time() . rand()), 010);
    }

This article was last updated 15th May 2021 00:35 Europe/London time based on the source file dated 10th May 2021 09:15 Europe/London time.