[imp] GeoIP...

Chuck Hagenbuch chuck at horde.org
Wed Nov 26 08:10:54 PST 2003


Quoting Amith Varghese <amith at xalan.com>:

> I get the following error when the code is trying to close the GeoIP database
>
> Warning: fclose(): 107 is not a valid stream resource in
> /home/www/html/horde/lib/NLS/GeoIP.php on line 222
>
> I looked at the code and it seems fine and GeoIP works as intended so I'm not
> sure what's going on.

Me neither, but there's no reason for us to manually close the filehandle on
shutdown, so I just got rid of the register_shutdown_function and _close()
calls.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"I'm really... I'm not too fascinated by green food." - Average Joe


More information about the imp mailing list