I have a script written in php (attached below), the content was accidentaly became unreadable, and if I open it with Notepad++, it shows NUL NUL NUL NUL (text color: white, background color: black).
It happened because I did force shut down while the script proccessing and my laptop freeze up.
Is it true that the file turned into binary file (nul byte)? How could it be? And the most important for now, how do I restore it to string file or readable again?
sorry for my bad english, thanks for your help
regards
class.php