I still think the files are being sent in the wrong transfer mode. Perhaps by doing that the file format is slightly corrupted and that's what you get this unsual behavior with notepad.
Check the file association pattern, they should be *.php and *.html
|