note 20384 deleted from function.pg-connect by alindeman
| From: | alindeman@php.net | Date: | Tue, 02 Apr 2002 21:46:58 +0000 |
| Subject: | note 20384 deleted from function.pg-connect by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28517@lists.php.net to get a copy of this message | ||
Just to clarify a confusing point in the previous comment (posted by Helio), that might trump
newbies:
NEVER name your include files .inc, ALWAYS .php! Unless you configure your web server to make .inc
files server-parsed, they will be viewable as plaintext in the web browser, exposing your passwords
for all the world's malicious youth to see. ;)
Sounds crazy, but I remember teachers in college even saying "use .inc", and I was like
"WHAT?!?!".