
April 12th, 2000, 02:57 AM
|
|
Junior Member
|
|
Join Date: Apr 2000
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by aarongb:
You can set mime type in httpd.conf to read .html or .htm files as php files, and then all html files will have to be interpreted through php. Why can't you just name your files .php, .php3, .php4, or .phtml?
[/quote]
Thanks for that. I'll gve it a try. I want to do it that way for a couple of reasons.
Firstly, I'm playing with the idea of using PHP to build my site on my local Linux box but then using wget to to produce a copy of my site as pure HTML as my ISP doesn't have PHP. This gives me some of the advantages of PHP without the server side processing.
The second reason is that I want my first page, the one the browser picks up without being told, (index.html) to be PHP.
Cheers..
Andy
|