I need help coding this project in PHP.
The idea of this project is to let the users define their own dictionary and then use it to translate English texts in input.
You will have to:
Build a web page that:
•Ensures a secure Session mechanism.
•Allows the user to submit a file (dictionary file) that contains English words of your choice and the direct translation in another language of your choice (easier if you can rely on Latin letters).
•As designer of this web application, the format of the file is up to you.
An easy way to solve the format problem is to let the user upload two files (one containing English words and the other containing the translation). This would be very Lame, but this is Lame Translate after all.
•Lets sign up and authenticate a User, allowing him/her/it to submit and then retrieve the model (that is, the translation of each individual word)
•Lets input a text in a text box and apply a direct translation to it. Note: If the user didn't upload any file yet, it should translate with a build in translation model (aka, default translation).
Build a web application that:
•Reads the file in input, interprets it and sends to the database the translation model.
•Reads the input from the text input and applies the translation based on the model.
•The "default model" should be used in case the User didn't sign up, or if it's logged in, by didn't upload any translation model.
•If the User is logged in and has uploaded a translation model, this model must be applied by the web application.
Build a MySQL database that:
•Stores the information regarding the translation model per each user.
•Stores the information related to each user account with username and password, in the most secure way of your knowledge.