I need the set of functions to do all these step by step.
Rest of the stuff i will manage to do it, logic etc.
- A directory on Linux contains only ASCII text file.
- The PHP script should search for a combination word in these files (input from another script)
- if found should delete the line and replace it with what I select from a drop-down-box(HTML-Select)
- Save the file or files it changed.
Is these all possible thru PHP's functions or i have to rely on Unix 'sed' command ?
Can someone please just jot down the possible functions to use for above 4 tasks.
Thank you for the help.
kbrij.