note 5647 modified in function.require by imajes
| From: | imajes@php.net | Date: | Sat, 19 Jan 2002 12:06:58 +0000 |
| Subject: | note 5647 modified in function.require by imajes | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25135@lists.php.net to get a copy of this message | ||
the note to hide include files is good but
it is done wrong.
the proper way is:
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>
otherwise people could not access files named "fooincluded" or "foo.include" or
anything with the letters i-n-c in it.
--was--
the note to hide include files is good but
it is done wrong.
the propper way is:
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>
otherwise people could not access files named "fooincluded" or "foo.include" or
anything with the letters i-n-c in it.
http://www.php.net/manual/en/function.require.php