note 16939 added to function.show-source
| From: | veins at skreel dot org | Date: | Mon, 19 Nov 2001 18:54:44 +0000 |
| Subject: | note 16939 added to function.show-source | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21023@lists.php.net to get a copy of this message | ||
Even smarter ;)
You put every passwords in a separate file that you call .htconfig and chmod 700.
The .ht* name prevents people from the internet to retrieve the file as apache default config
returns a 403 error for any file whose name start with ".ht".
The chmod 700 is just another protection in case something went wrong and apache would ignore the
".ht" restriction (which is a very improbable thing).
--
http://www.php.net/manual/en/function.show-source.php
http://master.php.net/manage/user-notes.php?action=edit+16939
http://master.php.net/manage/user-notes.php?action=delete+16939
http://master.php.net/manage/user-notes.php?action=reject+16939