On Wed, Jun 27, 2001 at 06:32:13PM -0000, [EMAIL PROTECTED] wrote: > ID: 11749 > User Update by: [EMAIL PROTECTED] > Status: Open > Bug Type: Scripting Engine problem > Operating system: Win32 (Win 2k) > PHP Version: 4.0.6 > Description: Unserialize dies with Apache Module but is FINE with CGI > > If it helps: > > a)Script > b)Datafile works on linux. please try changing @fopen($FileLocation,"r"); to @fopen($FileLocation,"rb"); and fopen($FileLocation,"w"); to fopen($FileLocation,"wb"); to force binary mode for your file - i'm pretty sure it will fix your problem! tc -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]