↧
Answer by mlewis54 for Change line feed of csv file to the same one
You have a number of options right in php. For example: $f=file_get_contents("files/uploads/$fileName"); $f=str_replace("\r","",$f); file_put_contents("files/uploads/$filename",$f); This will strip all...
View ArticleChange line feed of csv file to the same one
I need to work with csv files. I want to write an web app which is working with csv files and is written in php. Problem is all the csv files have diffrent line feeds /r, /n,/r/n/. I need to have the...
View Article