PHP v4.3.2 Warning For Windows Platform Users
Date: Thursday, May 22 @ 14:11:14 CEST
Topic: Software


PHP version 4.3.2, which is about to be released, has made some changes in the low level file handling process. As a result, there is a major change for Windows platform users. Any code that you have that uses the fopen('file','w'); call MUST BE CHANGED to fopen('file','wb'); or the file will be totally messed up. You should check ALL of the code you presently use that uses any PHP function call to open a file with 'w' and change it now to 'wb'. Then test your application to see if it still operates correctly. Assuming so, then you will not have any issues when v4.3.2 is released. You've been warned :)







This article comes from NukeCops
http://www.nukecops.com

The URL for this story is:
http://www.nukecops.com/modules.php?name=News&file=article&sid=183