Re: Update to version 2.3.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You're missing upgrade of ZendOptimizer (written in big red letters on the
downloads page :)

Edin


"Randy Clamons" <randy@xxxxxxxxxxxxx> wrote in message
news:20041221161857.1634503843.randy@xxxxxxxxxxxxxxxx
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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux