From: Reini U. <ru...@x-...> - 2002-08-26 13:29:17
|
Attached is my phpweather version, which works with the latest release version 1.61, which is very old. this has no classes. I only added dba support recently to this 1.61 version for simplier testing. and fixed some dbm typos. I cannot just test it enough, because the weather server doesn't let me in via http. With ftp it's too slow and the dirs changed. Martin Geisler schrieb: > Reini Urban <ru...@x-...> writes: > You're welcome - and thanks for the initial code for a PhpWeather > plugin. I've update it so that it works with the latest PHP Weather > CVS code: > http://www.gimpster.com/phpwiki/index.php/PhpWeather > > I'll try and see if I can get the drop-down boxes working so that > people can select other stations. Do I also just use HTML::select() > for this? Yes. See my latest UserPreferences.php code. But then the plugin phpweather.php has to react on $request->isPost() accordingly. >>BTW: The nightly CVS snapshot is currently very unstable. > I saw this when the UserPreference page went from the little one where > you could adjust the size on the textarea to the big one with a lot of > interesting options... I should probably go back a couple of days? or wait two more days... :) > By the way: gimpster.com is running in Safe Mode and this give me > these warnings on the UserPreferences page: > lib/plugin/UserPreferences.php:63: Warning[2]: SAFE MODE Restriction > in effect. The script whose uid is 1332 is not allowed to access > /www/gimpster.com/web/phpwiki owned by uid 0 > lib/plugin/UserPreferences.php:77: Warning[2]: SAFE MODE Restriction > in effect. The script whose uid is 1332 is not allowed to access > /www/gimpster.com/web/phpwiki owned by uid 0 oops. push todo: safe_mode testing. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |