Search and replace info on a file?
Posted: Sat Dec 31, 2005 2:14 pm
Hi,
I need to change some config in a file. The file gots the following:
I need to replace the info for the dbuname, dbpass and dbname. How is this topic called? I dont want to write the complete archive to change only those 3 parameters. I want to search for them and change (write) them. Any links you can recommend? Or a good tip?

I need to change some config in a file. The file gots the following:
Code: Select all
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";