A user hosts a simple XML file, to which driveby-sharing appends. gritttt.php needs no imports and insert only does some XML operation on the file. Also, gritttt.php performs basic session management to implement check_login (open: how to do some simple password-comparison - maybe store a password in a separate PHP file ...).