Reply to Re: File name: foo.php OR foo.htm

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация