note 20680 added to function.mysql-connect
| From: | daniel at mostertman dot com | Date: | Fri, 12 Apr 2002 08:11:57 +0000 |
| Subject: | note 20680 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29146@lists.php.net to get a copy of this message | ||
The best way to prevent that is to make an mysql.inc in your home directory, outside your
DocumentRoot of your site.
Then require(); it in your .php files, and there you are, nobody will be able to retrieve that file
through your webserver at all, ever (only you through your .php pages).
--
http://www.php.net/manual/en/function.mysql-connect.php
http://master.php.net/manage/user-notes.php?action=edit+20680
http://master.php.net/manage/user-notes.php?action=delete+20680
http://master.php.net/manage/user-notes.php?action=reject+20680