Re: PHP includes
| From: | Nathan Rixham | Date: | Mon, 09 Mar 2009 17:11:18 +0000 |
| Subject: | Re: PHP includes | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289683@lists.php.net to get a copy of this message | ||
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.