note 20384 added to function.pg-connect

From: Date: Tue, 02 Apr 2002 08:08:04 +0000
Subject: note 20384 added to function.pg-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-28492@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?!?!". -- http://www.php.net/manual/en/function.pg-connect.php http://master.php.net/manage/user-notes.php?action=edit+20384 http://master.php.net/manage/user-notes.php?action=delete+20384 http://master.php.net/manage/user-notes.php?action=reject+20384

« previous php.notes (#28492) next »