Ugh. Lurgy.
10:17.00 - Monday 2nd June 2003 (Link to This Entry)
I've come out in spots - little water-filled lumps on my hands and forearms. Not an invasion - more a scout unit. Some of them are raised and painful, others were raised but have now sunk a little. I popped the one between my fingers because it was rubbing and getting sore. Yeesh.
Now I know I shouldn't, but...
10:25.02 - Monday 2nd June 2003 (Link to This Entry)
I made a change to the Lotto email script that sends out emails to everyone who wants them. This particular script has probably given me more grief than any other on the grounds that it performs a very complicated function: it goes through all users, finding those who want to be sent their Lotto results, checking each of that users lines and calculating matches based on that line's draw type and finally sending out an email containing the results.
This script has never worked properly since I rewrote the site, because I redid it from scratch and obviously screwed up royally. In later draws it's been a lot better (when NTL and Easily don't conspire against me, at least) but it still has the odd quirk of sending out an email even though a user may not have lines for that day, and it's this feature that I've hopefully removed this morning.
This time I'm going to test it properly.
Update:
10:42.32 - Monday 2nd June 2003 (Link to This Entry)
The new, improved Lotto script appears to work. The list of account results when testing on my local machine includes the occasional "no lines today" entry and these skip through quicker than the others ("done") which, obviously, have to go through the rigmarole of matching up user lines to results.
Wednesday will be the live test. Gibber.
I just noticed that this script is also the biggest in my admin folder. Why am I not suprised? No wonder if gives me so much grief.
