это когда вылазит?[26-Jul-2011 14:26:08] PHP Notice: Undefined index: value in E:\nimp\htdocs\test.ru\ajax\edit_user_profile.php on line 17
[26-Jul-2011 14:26:08] PHP Notice: Undefined index: value in E:\nimp\htdocs\test.ru\ajax\edit_user_profile.php on line 132
// XBTT unique passkey
if($bb_cfg['announce_type'] != 'xbt')
{
$info_hash = pack('H*', sha1(bencode($tor['info'])));
$passkey = substr('00000000'. dechex($userdata['user_id']), -8) . substr(sha1($bb_cfg['torrent_pass_private_key'] .' '. $passkey_val .' '. $userdata['user_id'] .' '. $info_hash), 0, 24);
$announce = $bb_cfg['announce_xbt'] .'/'. $passkey .'/announce';
}
else
{
$announce = strval($ann_url . "?$passkey_key=$passkey_val&");
}
// XBTT unique passkey
if($bb_cfg['announce_type'] == 'xbt')
{
$info_hash = pack('H*', sha1(bencode($tor['info'])));
$passkey = substr('00000000'. dechex($userdata['user_id']), -8) . substr(sha1($bb_cfg['torrent_pass_private_key'] .' '. $passkey_val .' '. $userdata['user_id'] .' '. $info_hash), 0, 24);
$announce = $bb_cfg['announce_xbt'] .'/'. $passkey .'/announce';
}
else
{
$announce = strval($ann_url . "?$passkey_key=$passkey_val&");
}