I\'m trying to get file contents, replace some parts of it using regular expressions and preg_replace and save it to another file:
$content = file_get_conten
I've had max/limit issues with file_put_contents.
file_put_contents
No idea what the limits might be, but using fwrite solved my troubles and I put down the bottle.
fwrite