|
Posted by Patrick on 08/19/06 22:54
Hi,
On 2006-08-19 23:16:28 +0200, "Olumide" <50295@web.de> said:
> This has probably been asked before, but I would like to know when its
> best to name a file with either extension.
just as you like it. The browser typically does not look at the file
extension at all. Just the MIME content type of the file is important,
and that is controlled by the web server.
I think it is the best to name files with PHP code in it ".php" and
files without PHP code in it ".htm(l)" because that is the default and
should work on every webserver with PHP support.
Patrick
Navigation:
[Reply to this message]
|