How to save a text file in database by taking input through form?