Re[2]: [PHP] include files, ".php" or ".inc" ?
| From: | Richard Davey | Date: | Sun, 21 Nov 2004 23:25:17 +0000 |
| Subject: | Re[2]: [PHP] include files, ".php" or ".inc" ? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202627@lists.php.net to get a copy of this message | ||
Hello Perry,
Sunday, November 21, 2004, 8:02:48 PM, you wrote:
PJ> What it the purpose of the ".inc" file then?
Security - on a properly configured web server a .inc file will never
actually try and compile/execute itself. Whereas a .php one always
will.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I am not young enough to know everything." - Oscar Wilde