Re: Protecting include files
| From: | Dan Lowe | Date: | Sun, 19 Aug 2001 04:54:55 +0000 |
| Subject: | Re: Protecting include files | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63351@lists.php.net to get a copy of this message | ||
Previously, John Meyer said:
>
> BTW, .inc files can include PHP code that is executed, right?
Any file can contain such code, if the server is configured to interpret
the file as a PHP file, or if another file which is PHP include()'s the
file in question. The ".inc" extension just happens to be a popular choice
that a lot of people tend to use for "included" PHP code. But typically as
far as the server cares they're just text files.
-dan
--
It's been said that a million monkeys at a million keyboards could produce
the complete works of Shakespeare; now thanks to the Internet, we can say
that this is not true. -Unknown