I have a similar problem: I was using Smultron to edit some of the files for putting an off-the-shelf transparent video player. After I opened the .php file to see if I needed to change the script, it associated "open with" Smultron. It ALSO changed the file "kind" from "web document" or "php...