I need a php script that can run on my webserver.
This php script needs to present a form to the user.
This form will look like this perhaps:
Where I can enter data into the "______" area.
The script would then take the data from "VariableName1" and would search through TXT, PHP, and HTML files in directories specified in the script for the string(not sure if string is the right word) "VariableName1" and would replace them with the value collected via the form.
This would need to work with both TXT, PHP, and HTML files.
This will need to support multiple variables ie VariableName1 VariableName2 VariableName3 specified and collected in the Form section of the script.
This will need to support multiple directories for find and replace.
This will need to support opening, searching, replacing IF "VariableName1" is found, saving, and closing each file that is TXT, PHP, HTML in the specified folders.
This will need to be able to handle text lines, as well as text boxes for input from the form.
The input form will need to be able to have HTML and php entered into it and the proper syntax must be entered to the TXT, PHP, or HTML so that it displays or executes correctly.