I agree with Phill, don't make all your HTML into PHP
unless you aint got much - but hey if you aint got much then
you can fix the real problem!

soapbox: {
 The issue here seems to derive from the fact that all
 the internal HREFs point to xxx.html

 This is exactly why http://www.w3.org recommend that you DONT
 SPECIFY A FILE TYPE TYPE in your HREFs.

 Cool URIs Dont change - http://www.w3.org/Provider/Style/URI
 Good!!
   <A HREF=/somepage >Some Page!</A>
 NOT good!
   <A HREF=/somepage.html >Some Page!</A>
                   ^^^^^
 Let the server decide which page to dish.
 Then it's easy peasy to replace xxx.html with xxx.php or even
 xxx.my_new_language_of_the_moment.
};

Jeff

-----Original Message-----
From: Phillip Bow [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 6:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] files with html extension


Personally I recommend people don't do this unless their web server is going
to serve only(or mostly) php pages, and very few straight html pages.  It
will save you time mucking around on the server, but the increase in
overhead isn't really worth it. IMHO of course.
--
phill


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to