"Im sorry I did not get back sooner as I and another family member have been unwell in bed most of the last week.
I'd like to you for spoiling my Christmas
Now, someone hacked the server and deleted the whole gitpay database.
This was just volunteer work, so that open source developers like myself who get no pay might be able to a tiny amount of donations.
I have now lost a huge amount of work.
I hope you feel quite satisfied."
Sadly, SQL injection vulnerabilities aren't a rarity for PHP sites :( It's too easy to make this exact mistake.
Or just use an ORM. They have a bad reputation, but SQLAlchemy + Python is an awesome combo. But because of language features, PHP ORMs aren't quite as seamless.
[0] https://secure.php.net/manual/en/pdo.prepared-statements.php
Extend the language to detect passing a string literal to certain functions or macros. Rust does this for macros that take a format string, like "println!" and "format!". GCC can do this for printf as well. And Perl has taint checking.
Edit: I spoke too soon. The database has been dropped: http://gitpay.org/user.php.