Collections functions
General functions
Render functions
Theme permission 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 6513 to 6516

Definition

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

This article was last updated 31st January 2023 11:05 Europe/London time based on the source file dated 6th January 2023 19:05 Europe/London time.