Problem With hash function
hi everybody !
am upgrade to php 7.4.33 , right now i have error when am upload torrent SQL Error: 1406 - Data too long for column 'info_hash' at row 1 Query: UPDATE torrents SET `info_hash`='34be6fc4708fa558efd1ced2df836808d8960 de2' this is my function hash public function hash_info () { return isset( $this->info ) ? sha1( self::encode( $this->info ) ) : null; } p.s. binary change to varchar 40 right now is work ! pls del thread ! |
All times are GMT +2. The time now is 16:39. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.