View Single Post
Old Aug 29th, 2007, 12:56 AM   #6
grimpirate
King of Portal
 
grimpirate's Avatar
 
Join Date: Sep 2005
Posts: 419
Rep Power: 4 grimpirate is on a distinguished road
Send a message via Yahoo to grimpirate
Yeah I actually thought about that tAK but the problem is that since PHP can run multiple requests at one time I'm not sure that doing that would be "thread safe." If two processes were running at that very same moment doing that procedure it's possible (though slim) that they could overlap and thus one file might overwrite the other. I figure that fopen is safer in its usage because its coded that way.
__________________
Lo, there do I see my father. 'Lo, there do I see My mother, and my sisters, and my brothers. 'Lo, there do I see The line of my people... Back to the beginning. 'Lo, they do call to me. They bid me take my place among them. In the halls of Valhalla... Where the brave... May live... ...forever.. GrimBB | Mimesis
grimpirate is offline   Reply With Quote