On Monday 05 April 2004 10:37, Enrico Comini wrote: > 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
Apache (and other webservers) have a config option that maps file extensions to parsers (ie, .php to mod_php). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php