Anyway, I need help on what function(s) to use to write and read from files at the bit level. For example, I am trying to move a windows database solution over to all php. I need to be able to read and write to the files. One such file has a layout of:
Bits 1 - Account active (0 - no, 1 - yes)
Bits 2-16 - Pin number.
Anyway, I needt o be able to write at bitlevel and read at bit level. Another reason is for compression of text files. I will need to use the same algoritum as the windows source, so I will not be able to use the built-in compression libraries.
Thanks for your help!