note 33469 added to function.mysql-connect
| From: | chronos at chronos dot dyndns dot org | Date: | Fri, 27 Jun 2003 01:40:10 +0000 |
| Subject: | note 33469 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51065@lists.php.net to get a copy of this message | ||
In response to nospam at code24 dot com, please note that the configuration directive s/he gives
will block any filename containing the three letters "inc". The correct directive is as
follows:
<Files *.inc>
Order allow,deny
Deny from all
</Files>
Alternatively, using regexp matching:
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>
(As no authentication is being performed, the "Satisfy all" directive does nothing here.)
----
Manual Page -- http://www.php.net/manual/en/function.mysql-connect.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33469
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33469&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33469&report=yes