My application runs on a Unix OS, so my .TXT
files are created in UNIX format, I need these files to be created in WINDOWS format.
I need line breaks to be in WINDOWS format \ r \ n. I'm having trouble with UNIX format because it only inserts the \ n.
Today, I create the files using file_put_contents
.