Mortgage payments error log file

Challenge
No

Update your mortgage payment program. Log valid user inputs to a log file. You can try it.

  • Make a logging function in your function library. Call it from your mortgage app.
  • Only log if the log file isn't too large.
  • Store the log in a folder that can't be accessed through the web directly.
  • Use a CSV format, with the current/time, the principle, rate, and term.
  • Add a link to a program that shows the log, as in the example. (You wouldn't do this in a real app, of course.)

Hint: file_get_contents()

Upload a link to your solution on your server, and a zip file with your code. The usual standards apply.

Where referenced