I would like to read the last 1 megabyte of a MP3 file and calculate SHA1 checksum for just that part of the file. The reason that I would want this is that when I\'m looking fo
Try fseek. This will move the pointer to ~1024 kbytes before the end of the file.
fseek($fp, -1024 * 1024, SEEK_END);