Silly me, I didn’t notice the 5.0 requirement either before I sent the PayPal. That’s OK because I’m having some trouble getting a good WxSim forecast due to WD logfile problems right now anyway.
Maybe we can get Jordan to “downgrade” it to 4.3, or else I guess I’ll just have to figure that out. Can’t golf this time of year anyway.
If they do not match, let me know what version of PHP you have, and I will look into that. I do not see why those of you with PHP4 should have any trouble; I do not believe I used any complex functions here.
I will not accept any PayPal donations until this issue is resolved.
I keep getting “Warning: strpos(): Empty delimiter. in /virtual/users/e14335-14533/web/wsofd.php on line 138”. I believe it’s because the last element in $wxtype is nil. There may be something else, but that’s as far as I’ve been so far. I don’t think this is a PHP version issue. - Jim
Oops, I see you were busy while I was typing. Will install and check it out now.
Nope, you can see what I get at http://jcweather.us/example.php and if you need it you can grab my plaintext.txt at the same place.
To complicate things further, a test on a PHP 4.3.8 was successful. I will first try to redo the foreach loop into a regular for loop. I believe this is causing some headaches.
A new copy of wsofd.php is available in a new Jordan Gerth to remove the foreach loops and replace them with for loops, along with a few other minor changes. I appreciate the help since I am combatting this problem blindly. No changes to the other files.