[FX.php List] Curious: include-page naming conventions

Tim 'Webko' Booth tim at nicheit.com.au
Wed Oct 5 16:45:36 MDT 2011


On 06/10/2011, at 9:40 AM, Joel Shapiro wrote:

> Hey All
>
> I've been working a bit in a number of other people's php projects  
> lately, and have come across a couple naming conventions for include  
> pages that I'd never noticed before:
>
> page.inc.php  & _page.php
>
> Do people here use these (or other) conventions?  Will an extra dot  
> in a file name *never* cause problems?
>
> Other thoughts on the topic?

Mine are always in an includes folder, with the parent page as the  
start of the name:

search.php
includes/search_form.php
includes/search_list.php
includes/search_detail.php

Cheers

Webko



More information about the FX.php_List mailing list