Home  >  Q&A  >  body text

Is there any way to recover my PHP files?

I am using Visual Studio Code for coding but my PHP file is now corrupted and 70% of the code is missing. When I try to open it it says "The file is not displayed in the editor because it is binary or uses an unsupported text encoding". When I open it, there? The symbol the code should be in. I tried opening it with different text editors and the result is the same. Is there any way to solve this problem? Any help would be greatly appreciated.

P粉744831602P粉744831602181 days ago309

reply all(1)I'll reply

  • P粉828463673

    P粉8284636732024-04-04 00:14:20

    In most cases, plain text files will not display such a message. If it is overwritten, it may not be repairable. (Hard if possible.)

    So you may need to learn how to use git. (Such as github)

    reply
    0
  • Cancelreply