[snip]
Being new to PHP this task seems to be little out of my reach right now.
I 
wonder if anyone could tell me how, as I read a file, line by line,
search for 
and then replace a given string?

Basically I will open the file, read its lines one by one and I want to 
replace Some-Name with Some-other-Name.
[/snip]

http://www.php.net/str_replace

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to