added generate_log.php to make html look cleaner. test.php generates form (no barcode)