+ 1
How to translate a .NFO file ?
I maked some .nfo file from some music files and uploaded them to a new project. but when I do file_get_contents('nfo_file.nfo'); it returns something different from the original file content. So I want to know How I can translate it to the original file description?
2 Answers
+ 2
$handle = fopen("yourfile.nfo", "r"); if ($handle) { while (($line = fgets($handle)) !== false) { echo $line."<br>"; } fclose($handle); } else { // error opening the file. }
source: https://stackoverflow.com/questions/28584293/how-to-show-the-content-in-a-nfo-file-on-the-web
+ 1
thanks you!!! (Y)