You are here

function _referral_hex_seed in User Referral 6

Same name and namespace in other branches
  1. 5 referral.module \_referral_hex_seed()
  2. 7 referral.module \_referral_hex_seed()
2 calls to _referral_hex_seed()
_referral_ref2uid in ./referral.module
_referral_uid2ref in ./referral.module

File

./referral.module, line 544

Code

function _referral_hex_seed() {
  global $base_url;
  $seed = hexdec(_referral_asc2hex(substr($base_url, REFERRAL_HEX_START, REFERRAL_HEX_LENGTH)));
  return $seed;
}