Re: php,mysql,html question
| From: | rusty at grunt dot berkeley dot edu | Date: | Wed, 26 Jul 2000 19:21:26 +0000 |
| Subject: | Re: php,mysql,html question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1537@lists.php.net to get a copy of this message | ||
You need to use .php so that the web server feeds to the mod_php module
the .php file so that mod_php can execute the php code in it. You could
change things so that all files are given to the mod_php module to
interpret, so that you could use php code in .html files, but that
would slow down your web server (unless most of your .html files have
php code in them).
I haven't tried it yet but I think there's a way using Apache's
mod_rewrite to make the .php files look like .html files to the user.