You are here: Re: File name: foo.php OR foo.htm « PHP Programming Language « IT news, forums, messages
Re: File name: foo.php OR foo.htm

Posted by John Dunlop on 08/20/06 12:33

Olumide:

[re .htm and .php]

> This has probably been asked before, but I would like to know when its
> best to name a file with either extension.

I would say if the file or its output is text/html, name it .html. If
the file contains PHP code, intended to be parsed, name it .php. If
both, then both.

URLs, I would suggest not including any suffix.

--
Jock

 

Navigation:

[Reply to this 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

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