Jump to content

editing many php files at once


P3t3r

Recommended Posts

I'm not sure I picked the right forum for this question: if I want to replace a string by another string in all my .php files, how do I do this best? E.g. replacing all include( by require( or so. In all files + subdirs, without me having to list the files one by one of course.

 

How do I do this best? A program or a shell command (sed didn't do subdirs for me) or both.

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/84879-editing-many-php-files-at-once/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.