Hello, new to DP. Would it be possible to edit multiple .php files in a directory when one "update.php" file is run. Where it selects certain parts of the php code from other files and updates/removes or adds to it - done for multiple files. If it is possible can anyone provide a basic example of it being executed? Thanks for reading, Sincerely, Tim.
Is it possible? Sure. Open the first file to be edited, make the edits, write the file back. Move on to the second file. Wash, rinse, repeat. Of course you'd have to rewrite the update file each time you wanted to do an update. That's why the concept of CMS was invented. It's much easier to modify a database than it is to modify PHP files.