Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
v:2.0:hmac_validation [2023/07/18 13:28] – [PHP: Helper Function] adam | v:2.0:hmac_validation [2024/03/11 14:38] (current) – [PHP: Helper Function] marija | ||
---|---|---|---|
Line 55: | Line 55: | ||
<code php> | <code php> | ||
$api_key = " | $api_key = " | ||
- | $encodingval = htmlspecialchars($var_code . $var_parent_code . $var_name . $var_value); | + | $encodingval = htmlspecialchars($var_code . $var_parent_code . $var_name . $var_value, ENT_COMPAT); |
$label = ($for_value) ? $var_value : $var_name; | $label = ($for_value) ? $var_value : $var_name; | ||
return $label . ' | return $label . ' |