Re: support for php3 ?!?!?
Brought to you by:
iridium
From: Ray v. B. <r_v...@ho...> - 2002-02-03 15:33:43
|
Martin, I tried your suggestions but can't get it to work. I suspect the extract function function extract($array) { while (list($key, $val) = each($array)) { $GLOBALS["\"". $key. "\""] = $val; } } I tracked the data from the METAR string to the extract function. I found that at a given iteration of the loop, the temp_c key is coming by. Then at the end of the function, I checked for a variable $temp_c but this results in nothing to be printed with: printf($temp_c); Is the $GLOBAL contruction correct for php3.0.3? By the way: I know that it would be best to ask the admin of the host provider to upgrade, I found out that my account is stored on some virtual server in a server farm. The company I obtained the account from only rents a virtual server, so I don't think that this company is able to upgrade php 3... unfortunately. Greetz, Ray _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |