$KEY_TRX = 'trx_id';
$str = "do::".$json[$KEY_SESSION]."::".$json[$KEY_TRX]."::".$this->salt;
for($i=1; $i<=45; $i++) {
$str = md5($str);
}
if ($str == $json[self::KEY_SIGN]) {
return true;
}
return false; why is this code returning error: Undefined Index "opnop1" ? Anyone?
the error message is self explanatory - you're trying to access $json[$KEY_SESSION] - $KEY_SESSION has the value 'opnop1' - $json does not have a 'opnop1' index
Обсуждают сегодня