note 19325 added to function.mysql-connect
| From: | peter at somewhere dot com | Date: | Sat, 23 Feb 2002 14:38:14 +0000 |
| Subject: | note 19325 added to function.mysql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26965@lists.php.net to get a copy of this message | ||
Using a connection.inc would be rather insecure as most web servers are configured to return .inc
files as html/text. Doing so would expose your login and password to the world. Either configure the
web server to handle .inc "correctly" or name it .php (preferable).
--
http://www.php.net/manual/en/function.mysql-connect.php
http://master.php.net/manage/user-notes.php?action=edit+19325
http://master.php.net/manage/user-notes.php?action=delete+19325
http://master.php.net/manage/user-notes.php?action=reject+19325