Sameer Borate's Blog: Search & replace in files using php

Courtesy PHPDeveloper.org  Tue, 05/12/2009 - 08:30

On his blog today Sameer Borate has posted a quick tutorial on how to use a PEAR package to do search and replace on your files from inside of PHP.

Searching and replacing content in files is a common task all of us do regularly.

[...] Search/replace is easier from a shell prompt or an editor, but what if you have to do the same programatically in php. File_SearchReplace is a pear package that helps...


 

More related items

Michael Nitschinger's Blog: Playing with Composer and...
Michael Nitschinger has a new post to his blog looking at using the popular Composer tool for package management together with Lithium to make dependency management simpler. Composer is a...

PEAR Blog: Welcome to new contributors
On the PEAR Group blog there's a new post welcoming all new contributors to the project and pointing out that the PEAR account on Github has officially passed the 200 repository mark in the...

NetTuts.com: Build an Admin Panel with the Fuel PHP...
Phil Sturgeon (an expert in all things related to the Fuel PHP framework) has written up a tutorial for NetTuts.com about creating a basic admin panel for your application based on the...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com