Re: Re: Update to version 2.3.10

From: Date: Wed, 22 Dec 2004 20:08:47 +0000
Subject: Re: Re: Update to version 2.3.10
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-25195@lists.php.net to get a copy of this message
That did the trick!! Thank you so much. Randy > ------------Original Message------------ > From: "Edin Kadribasic" <edink@emini.dk> > To: php-windows@lists.php.net > Date: Tue, Dec-21-2004 7:05 PM > Subject: [PHP-WIN] Re: Update to version 2.3.10 > > 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 > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.windows (#25195) next »