You can accomplish by using the htaccess file to force the server to run all html/htm files as if they were php files, so the Search Engines will never know the difference.
Stolen from this post:
By Kristos
<Files *.htm>
ForceType application/x-httpd-php
</Files>
<Files *.html>
ForceType application/x-httpd-php
</Files>