function magic_bytes($path, $position = 0, $bytes = 4) { if (!file_exists($path)) { return null; } $handle = fopen($path, 'rb'); fseek($handle, $position); $bytes = bin2hex(fread($handle, $bytes)); fclose($handle); return $bytes; }
您最近使用了:
騰訊云雙十一超級爆品2核2G4M 18元/3月
企業用戶專享 4188元代金券 個人用戶專享 2000 元代金券
華為云618精品2核2G4M 45.01/年