News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Pierre-Alain Joye's Blog:
Windows fixes release for Zip, fopen(,"rb") may not be binary safe
November 28, 2006 @ 07:13:09

A new release of the Zip PECL package has been made according to this post on Pierre-Alain Joye's blog today. The main update in this release is to counteract a Windows bug that's interfering with binary file opens.

The issue is actually a windows bug. No matter if I give or not the "b" flag to fopen, the write operations are not binary safe. It seems to be a known issue as many projects use the same trick.

The problem comes up when PHP forces the binary mode in SAPI and CLI, making the binary writes to a file non-binary safe no matter what. Pierre is also asking for help from anyone out there with any information/bug reports/references about this issue that would yield something useful.

0 comments voice your opinion now!
fopen binary safe windows force mode bug sapi cli fopen binary safe windows force mode bug sapi cli


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Zend Platform 3.0 Beta for Windows is released

Christopher Jones' Blog: PHP OCI8 Extension 1.2.4 is in PECL

PHP.net: PHP 5.4.10 and PHP 5.3.20 released!

DynamicWebPages.de: Windows Snapshots for PHP 5.3

Ruslan Yakushev's Blog: PHP on IIS: MonitorChangesTo setting in FastCGI


Community Events











Don't see your event here?
Let us know!


symfony2 series hack release introduction framework facebook package language hhvm install composer performance application database security opinion component unittest podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework