How to translate a .NFO file ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

23rd Jul 2017, 11:13 AM
Nightwalker Yao 🇨🇮
Nightwalker Yao 🇨🇮 - avatar
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
23rd Jul 2017, 11:22 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
thanks you!!! (Y)
23rd Jul 2017, 11:44 AM
Nightwalker Yao 🇨🇮
Nightwalker Yao 🇨🇮 - avatar