Re: Using Php code in index.html

From: Date: Wed, 22 Nov 2000 11:06:42 +0000
Subject: Re: Using Php code in index.html
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4044@lists.php.net to get a copy of this message
Since your not telling us which httpd server you are using, i'm asuming that you are using apache.. For php3 add this line to your httpd.conf file: AddType application/x-httpd-php3 .html .php3 And for PHP 4.x, use: AddType application/x-httpd-php .html .php Make sure you add all extensions you want to use //Mattias aka bad2da ----- Original Message ----- From: "Assil" <051581324@doar.net> To: "list" <php-windows@lists.php.net> Sent: Wednesday, November 22, 2000 10:06 AM Subject: [PHP-WIN] Using Php code in index.html > My server does not treats index.php as the default entry page. > So I must use index.htm file. > > Is there a way to use (and be accepted} commands like "if" in an htm file ? > > Assil > ========== > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#4044) next »