Hello: I failed to create "binary" file in PHP. The parameter in "fwrite" seems only accept type "string". How can I create a binary file to write "a structure or integer"? For example:
int value; fwrite (fd,&value,sizeof(integer));