hello, I'm now trying out file operations using PHP. I'm not sure abt this but they dun seen to be anyway similar to the functionality of C/C++ I/O functions..
if at all possible. can i just fread() binary data into an integer variable where by it is treated as numbers instead of string? i.e. $success=fread($fp,$longnumber,4). also if this does works. which byte order are we doing? IBM or Motorola? which come 1st, LSB or HSB?
noticed there's no 'read to buffer' in php's fread() but a return string >> too presumtuous that we are all dealing with strings only data.
Jem
Thanks if u can help. bye!