I would like to know what are the files (.txt,.jpeg,.png) we can read using only with fread function.I know there are some other in build functions there to read .xls,.xml & .csv files.Recently I have an issue to read a .doc or .docx file using fread. finally I modified that file into .txt file and read the same.Please need a solution.
Reading a File Using fread
in PHP
Posted
I would like to know what are the files (.txt,.jpeg,.png) we can read using only with fread function.I know there are some other in build functions there to read .xls,.xml & .csv files.Recently I have an issue to read a .doc or .docx file using fread. finally I modified that file into .txt file and read the same.Please need a solution.