Re: strange error
Brought to you by:
iridium
|
From: Martin G. <gim...@gi...> - 2002-08-23 18:08:21
|
"Ray Saldana III" <ab...@co...> writes:
> In running the demo file on the new control panel, I get this
> curious error messages, but=A0 still get the weather reports, any
> ideas? On the second one, I did not include the Spanish include
> file. It is almost like a closing is missing, the same files work
> perfectly on the Apache server I have installed on my personal
> machine.
The problem is that the PHP guys have changed the way the pow()
function works: it used to accept something like this
$v =3D pow('1.5', 2);
but it will nolonger convert the string into a float. Use (float)
infront of the arguments in the lines that cause trouble should help
with this:
$v =3D pow((float)'1.5', 2);
--=20
Martin Geisler My GnuPG Key: 0xF7F6B57B
See http://gimpster.com/ and http://phpweather.net/ for:
PHP Weather =3D> Shows the current weather on your webpage and
PHP Shell =3D> A telnet-connection (almost :-) in a PHP page.
|