I need to unset the c-electric-flag and c-syntactic-indentation flags in Emacs23.4 when I open php files which name ends with .html.php, and only for that "name-pattern", because I use php-mode within html-mode and those flags indent the php code not in a proper way.
However, I would like to keep those flags on while editing pure .php files (php controllers, which contain only php source).
How can I do that?