Q. Puis-je utiliser une balise PHP dans ma page html ?
Réponse . Oui, vous pouvez utiliser le PHP balise dans les pages html. Tout ce que vous avez à faire est d'intégrer PHP avec html dans votre apache configuration et ajoutez des modules qui exécuteront le code php dans vos pages html. Notre support vous aidera si vous ne parvenez pas à effectuer ces modifications de votre côté ou si vous avez un compte d'hébergement mutualisé.
Pour ceux qui ont des serveurs dédiés ou des comptes VPS peuvent le faire dans le "AddHandler ” de httpd.conf
Ajoutez simplement la ligne suivante dans AddHandler :-
AddType application/x-httpd-php .html
Après l'avoir ajouté, la section addhandler ressemblerait à ceci :-
AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php3 AddType application/x-httpd-php .html AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .phtml AddHandler cgi-script .cgi .pl AddType text/html .shtml AddType application/x-tar .tgz AddType text/vnd.wap.wml .wml AddType image/vnd.wap.wbmp .wbmp AddType text/vnd.wap.wmlscript .wmls AddType application/vnd.wap.wmlc .wmlc AddType application/vnd.wap.wmlscriptc .wmlsc