Re: Update to version 2.3.10

From: Date: Wed, 22 Dec 2004 00:02:20 +0000
Subject: Re: Update to version 2.3.10
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-25193@lists.php.net to get a copy of this message
You're missing upgrade of ZendOptimizer (written in big red letters on the downloads page :) Edin "Randy Clamons" <randy@novaspace.com> wrote in message news:20041221161857.1634503843.randy@novaspace.com... Using Win2K, IIS 5.0, PHP 2.3.10. After updating, this piece of code (file names have been changed here) is throwing an error in php 2.3.10. It worked fine with 2.3.2, and still works when I rollback the update. $config['feedata'] = "c:/basedir/fees.dat"; $config['locationdata'] = "c:/basedir/locations.dat"; $config['defaultdata'] = "c:/basedir/default.dat"; foreach (Array ( $config['feedata'], $config['locationdata'], $config['defaultdata'] ) as $filename) { if ($fh = fopen($filename, "r") ) { ... blah blah ... } } Warning: fopen() expects parameter 1 to be string, array given in auction.php on line 35 What am I missing? Randy Clamons Systems Programming Astro-auction.com

« previous php.windows (#25193) next »