note 20600 deleted from function.mysql-connect by mrobinso

From: Date: Sat, 24 May 2008 12:51:28 +0000
Subject: note 20600 deleted from function.mysql-connect by mrobinso
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-139696@lists.php.net to get a copy of this message
Note Submitter: rec0rder at lycos dot com ---- The method I use to "protect" mySQL connect is to place dbConnect.php outside the web directory. I will create a directory: /var/include/ Put "dbConnect.php" into /var/include/ Edit your php.ini file to read "/var/include/" an include directory. In your PHP now, you just have to do: require("dbConnect.php");

« previous php.notes (#139696) next »