RE: [PHP] PHP and HTML
| From: | Maxim Maletsky | Date: | Fri, 25 Aug 2000 01:31:17 +0000 |
| Subject: | RE: [PHP] PHP and HTML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-13554@lists.php.net to get a copy of this message | ||
You will need to make some changes in your Apache's httpd.conf file.
Just add there .html to the files to be parsed and you can then use whether
.html or .php to run your applications.
Basicly it can be anything, I was setting something like .ilovemydog and
.max or .whattimeisit to work with php and the files were working...
Just play with apache's httpd.conf file ....
-----Original Message-----
From: Erchinger, Ethan [mailto:ethan.erchinger@certive.com]
Sent: Friday, August 25, 2000 6:51 AM
To: 'php-general@lists.php.net'
Subject: [PHP] PHP and HTML
Hi all,
I'm running Apache with PHP compiled statically into it. Can you make a
file named test.html run PHP code, or does it have to be test.php, or
test.cgi. In other words, can it end in .html?
Thanks,
Ethan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net