PHP within .html files

From: Date: Thu, 16 Aug 2001 15:29:18 +0000
Subject: PHP within .html files
Groups: php.general 
Request: Send a blank email to php-general+get-63040@lists.php.net to get a copy of this message
My UNIX apache server that I host from seems to be preset to execute PHP code within html docs. That is, a php require statement within a ".html" file is included, executed, and sent to the browser. Is this unusual? or standard? I ask because I would hope not to become dependent on including php code in html docs and have them switch a server setting back. Of course, if that happens I guess I could rename my files from ".html" to ".php". But I really prefer to just having ".html" appear in the browser URL bar.

« previous php.general (#63040) next »