Re: PHP includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gary wrote:
Thank you to everybody that replied...but it almost seems it is making extra work.

What is the best type of file to be used as an include (.txt, .php).


new I forgot something! the best type of file to be used as an include differs on a case by case basis.

name the files correctly and forget about dictating in advance, file extensions are there so people can easily identify what's in the file - and when you have 10,000 files you'll really appreciate this :p

some_code.php
some_html.html
some_text.txt

all of them can be included, and even reading the list you can pretty much guess what each contains.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux