Yet again I find myself making stupid blunders.
Guess what I did the other day. No, go on - guess. It has to do with the fact that I released a minor update to PHPAskIt the other day.
...yup, that's right, I left all my database details - complete with passwords and everything - in the config file which I released as part of the .zip file. Now a normal person would check over the files up for release, and make sure that there are no passwords or sensitive information left in them. Or at the very least, download the file once it's been released and make sure all the parts work properly. Did I do that? No. I tested the files on my local PHP installation and assumed everything would work. Then I used one of the fixes on another site, and found out that it didn't work. Why? Because I have PHP5 locally and this other site uses PHP4. No big deal, obviously that function had been updated in PHP5 so I consulted the PHP manual and found a working equivalent for PHP4. I then updated the zip file up for download. Then I noticed a few typos here and there and updated the file around 230943435235 more times. Not once did I notice I'd left all my info in the config file. 3 days later I suddenly ask myself if I'd tested this or that in the new version, so I download the one I'd put online to check if I had added something before I went about tinkering with the code again.
...and there we go, I noticed my own info in the config file. THREE DAYS AFTER RELEASE. I'm surprised I wasn't hacked again since I used that password on my cPanel and stuff. (Note to all hackers and other nosey people: passwords everywhere now changed, so don't bother trying it.)
My boyfriend (whose birthday it was yesterday - and whose present hasn't arrived yet even though I ordered it some time ago) thinks I was blonde in a previous life, or that I'm a natural blonde with dyed hair because of all these stupid blunders I make. :\ Perhaps he's right.
Ooh, but my server time is now corrected. Some new guy has joined my hosts and although last week things were looking a bit shady (I was hacked a total of 3 times and support did absolutely nothing about it) it all looks to be better now. Notice you can actually get to my site now? Yay :)