functions.php - Modified writeLog() to include timestamp and remote IP
registercard.php - Modified code to use universal writeLog function

To disable logging, overwrite the writeLog function by commenting file_put_content