¿Cómo incluir código PHP en páginas .htm/.html?
Para poder ejecutar código PHP en páginas .htm/.html, añade la siguiente línea al archivo .htaccess de tu sitio web:
AddHandler application/x-httpd-recommended-php .php .htm .html
Base de conocimiento
Para poder ejecutar código PHP en páginas .htm/.html, añade la siguiente línea al archivo .htaccess de tu sitio web:
AddHandler application/x-httpd-recommended-php .php .htm .html
¿Te ha resultado útil este artículo?
Añade SiteGround a tus fuentes preferidas de Google.