28 Jul 11, 05:56PM
Jesus christ.
1) A password is personal. Never give it to someone else.
2) Never assume that "no one will see it". (If you absolutely have to do that kind of crazy stuff, write the password to a file on the server, goddamit)
3) Never tinker around on a live server accessible from the internet.
4) I wonder how convoluted that code must be, so you couldn't even figure out how to dump a list of unapproved teams.
So, to sum up, so many things were done wrong here (not just by you), that all "best intentions" in the world don't really count. Of course that wasn't intentional - in that case, you would probably have figured out a smarter way to do it.
1) A password is personal. Never give it to someone else.
2) Never assume that "no one will see it". (If you absolutely have to do that kind of crazy stuff, write the password to a file on the server, goddamit)
3) Never tinker around on a live server accessible from the internet.
4) I wonder how convoluted that code must be, so you couldn't even figure out how to dump a list of unapproved teams.
So, to sum up, so many things were done wrong here (not just by you), that all "best intentions" in the world don't really count. Of course that wasn't intentional - in that case, you would probably have figured out a smarter way to do it.