fwrite not working
<p>Is there a way to know why fwrite is not working? I mean as in .net (I am a .net guy) the method just throws the exception which can be caught and the exception message and stack trace message tells all the story why the .net method didn't work. Is there any way I can know why my fwrite is not working as I think my code is stable because it's working fine on one machine but not on the other. Please help.
Thanks in advance.</p>

<p>Edit: It's just returning false leading me nowhere. :(</p>
