Notepad. That's what opens the .php files by default. Do you have suggestions on something that would work better?
I use HTML-Kit, also a free program you can download from the internet. But I doubt that notepad would corrupt a php file. Maybe it is the program you are using to upload it to your server?
Bookmarks