View Single Post
Old 04-28-2009, 08:38 AM  
quantum-x
Confirmed User
 
quantum-x's Avatar
 
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
Hah: This is going to be fun.
First, you're going to have to be reading in binary mode.
Second, you're going to have to scratch of up on little and big endian notation.

Third, you'll find out the strpos etc completely aren't binary safe.

My recommendation?

Do a GFY search on my name, find where I posted my movie anti-piracy script.
It's got a bunch of classes written exactly for this: loading a movie, and doing binary searches inside the movie, and pulling out data.

That will probably sold your problem entirely.
quantum-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote