Bugs item #611597, was opened at 2002-09-19 15:54
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=377952&aid=611597&group_id=23245
Category: Output
Group: phpweather-2.x
>Status: Closed
Priority: 5
Submitted By: Fabio Parri (fparri)
>Assigned to: Martin Geisler (gimpster)
Summary: Doesn't work on Lycos web space
Initial Comment:
On Lycos the the fsockopen() function is disabled. This
makes phpweather 2.0 not to work, whereas the 1.6.*
versions, using the file() function, worked.
The solution, I guess, would be to abstract the logic that
downloads a METAR so that people can choose
between using file(), fsockopen() or something else
if they need to...
Unfortunately, I can't do such a thing, due to my poor
coding skills. Anyone up to it :) ?
Thanks a million,
Fabio
----------------------------------------------------------------------
>Comment By: Martin Geisler (gimpster)
Date: 2002-09-22 11:40
Message:
Logged In: YES
user_id=104098
I've fixed this in CVS - you can now specify a
fetch_function in your defaults.php file. Setting
fetch_function to 'get_metar_socket' will use fsockopen(),
setting it to 'get_metar_file' will use file() instead.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=377952&aid=611597&group_id=23245
|