Author Topic: File read question  (Read 378 times)

0 Members and 1 Guest are viewing this topic.

Offline tibberousTopic starter

  • Devotee
  • Posts: 1,177
    • View Profile
    • Trent Tompkins.com
File read question
« on: November 04, 2007, 12:46:49 AM »
I have a file. I want to read in the first 64 bytes, as 8, 8 byte integers.

Does anyone know how to do this? It is a binary file, so I was thinking to open it up as binary, read($fp, 8), then convert it to a number somehow?