You need to tell apache to parse .html files with the php parser. By default apache is setup to parse .php files. Not .html files.
Here is the line from httpd.conf. --------------------------------------- AddType application/x-httpd-php .php --------------------------------------- -----Original Message----- From: Daniël Beukers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 16, 2002 7:51 AM To: Php-Install (E-mail) Subject: [PHP-INST] inline php not working Hi, on my machine, php gets properly executed from .php files but NOT from inside .html files. When I include some inline php-code like <?php echo "hello" ?> inside HTML files it doesn't get parsed by php. It seems to me like it's a configuration switch, but I can't seem to find where. I'm running FreeBSD 4.5-RELEASE-p2. I installed apache 1.3.24_1 and mod-php4-4.1.2 from the ports. any ideas? thanks, Daniël. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php