report-system index.php uses javascript and php to get meta info about the visitor and report-submit.php actually saves the data into the database.