Reply to Re: Advantages or disadvantages of .inc files

Your name:

Reply:


Posted by Tony Marston on 07/16/06 09:14

The only "advantage" for using different extensions is that each extension
helps identify the contents of each file. I use .php for scripts which can
be executed, and .inc for scripts which must be included instead of
executed. I presume Smarty use .tpl to identify its template files. It is
just a matter of convention.

--
Tony Marston

http://www.tonymarston.net
http://www.radicore.org



"IchBin" <weconsul@ptd.net> wrote in message
news:GwmdnfJ6qrXPliTZUSdV9g@ptd.net...
>
> What are the advantages or disadvantages of .inc files over the 'include'
> statement. I can't seem to find that information at the PHP website.
>
> Also the same for form building inline, I guess you would call it, and
> HTML template objects. File types of .tpl and .ihtml?
>
> Thanks in Advance...
> IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
> __________________________________________________________________________
>
> 'If there is one, Knowledge is the "Fountain of Youth"'
> -William E. Taylor, Regular Guy (1952-)

[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

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