Let me tell you what i want: in c# we have this:
Code:
FileStream FS = new FileStream(@"path" + Name + ".usr", FileMode.CreateNew);
BinaryWriter BW = new BinaryWriter(FS);
BW.Write(Password);
BW.Write(Status);
So, it writes to a file like this, this is what i get on notepad:
No idea how you will see it...
Well is there a function in php that can make files same like this?