I created a system that imports the names generated in TXT, but the system interprets the ; at the end of each line and writes to the bank, but my client's commercial system exports the data without the ; ; in the end, the worst that is a telemarketing system that generates files of almost 5000 thousand names a day!
The file looks like this:
marcos
fulano
ciclano
beltrano
I need PHP to read this file, and generate a new one, however; in the end
It would look like this
marcos;
fulano;
ciclano;
beltrano;
Someone gives me a light, and I could not find an example that would read and change then serious!