That did the trick!! Thank you so much. Randy
> ------------Original Message------------ > From: "Edin Kadribasic" <[EMAIL PROTECTED]> > 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" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > 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 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php