How to translate a .NFO file ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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