Reply to Re: Do people still use the .inc extension?

Your name:

Reply:


Posted by Michael Fesser on 09/29/42 12:01

..oO(junu)

>as RomZ stated, the main reason is, people can see your code in
>browser if it is under web documents root and you have not set access
>permission for the files.

Such files don't belong there, period. If you can't store your include
files outside the document root, then get a better host.

>Actually no benefit is getting by using .inc other than identifying
>includes files, it can be done with grouping them in separate
>directory.

In my apps I prefer names like

TFoo.class.inc
IBar.interface.inc

It's simply a question of personal preference, nothing more.

Micha

[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

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