If you’ve ever tried saving a file from notepad with a different file extension,you might find that sometimes it works,but sometimes it doesn’t.
Example: you save a file as index.php and it turns out it’s call index.php.txt
The problem is that notepad will often add a .txt extension to the file even if you have specified one in the filename.
Solution: when you type in the file name, put double-quotes on either side of the name and is will save it “as-is”
Example: “index.php”