It's apache that runs the php script & it must some how know that this is a script file.. and the way you tell the apache to run the script is by the extention (.php) since .html is not an serverside script, apache dont nead to run that before sending it.
but you can declare that in apache.conf (if you want html files to use php code) :) "Enrico Comini" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I use php without problem, but my file is processed by php only if the > extension is .php , why ? > If I have for example a index.html with "<?php" at the beginning , this file > is not parsed by php and I have to rename in index.php > Thanks, Enrico > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php