I am using Notepad++ v.6.4.5 (Unicode) installed with installer version downloaded from Notepad++ home page. I have Xampp 1.8.1, Apache 2.4.3 & php 5.4.7 installed.
Php files created in the default Notepad of Windows 7 (64bit) and Dreamweaver, do not effect changes when edited in Notepad++. Changes get saved in the file and are seen again when file is re-opened in Notepad++. But the changes are not seen when the file is opened in the original creation application i.e. in Notepad or Dreamweaver. Old codes are shown as if the file was never edited.
Also, the changes made in the code do not output new results in browser. Old results are output according to the codes in the original file. What's wrong? Any idea?
you probably have two versions of the same file. Can you verify file paths?
:-) I create a file first (test.php) in Windows Notepad. Then, I open the same file from the same directory in Notepad++. No two versions of the file. No mistake of opening some other file. Same thing happens when a file is created in Dreamweaver. Checked & tested everything before seeking help. Thanks, Loreia.
So we covered the basics. Can you upload that file here? Just to check if there is anything special about the file content.
I told you it's just a simple test file to echo "Hello World!" created in Windows Notepad and edited to "Hi Sweetheart" in Notepad++. Output in browser remains "Hello World!" and Windows Notepad shows "Hello World!" while Notepad++ shows "Hi Sweetheart" even after saving and re-opening file. Any clue?
the problem is that one file simply can't have two different "hello world" lines. So, we first must determine which editor gives wrong results. That's why I wanted to see file uploaded here. Change its content in N++, close N++, and upload that file somewhere.
Then repeat the process with Dreamweaver.
After comparing those two files, we can determine which editor gives you wrong result. If editors are working fine, then we need to determine which process changes content of the file.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.