I've got several sites that use PHP code blocks embedded within plain .html
files. It's an apache server and I simply use AddHandler
application/x-httpd-php in the .htaccess file to tell the server to p them
It works fine for these sites where we don't want to change URLs by modifying
However, Dreamweaver doesn't treat these PHP code blocks as PHP (with one
exception, which I'll get to). Instead, it displays the code block as plain
text, without code coloring or code hints. It also doesn't provide the "Insert
> PHP Objects" option from the insert ...