I need you to develop a simple text file editor php script. Below are all the details.
1. The script is configured by a server-side configuration file. Configuration file consists of several lines having following format.
FOLDER_PATH is a relative to HOME_PATH or absolute path to a folder where files reside. Script is allowed to edit files matching REGEXP_FILE_NAME_PATTERN.
2. Script must read HOME_PATH variable from $_SESSION.
3. Front-end must display a list of allowed files (only allowed to be edited). When user clicks a file name file contents appers in a text editor. User will then edit content and click save or cancel.
It is better if you can do it in ajax style to avoid page reloads. If you can make a clean good looking design that would be fine.
That is it. Very simple. Let me know what you can do in PMB.