I want to open a file and write to it changes after doing a search and replace on certain text.
this is how I am trying it, but it does not work.
any ideas?
$fp = fopen ("<file_name>", "r+");
$fputs_str = ereg_replace ("sub_category_id", "XXX"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.