Added php script to receive and write log data to a file
Added Ajax to send log data to server