Re: web site security: how to hide login info for mysql-connection

From: Date: Sun, 29 Jun 2003 16:21:56 +0000
Subject: Re: web site security: how to hide login info for mysql-connection
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-153321@lists.php.net to get a copy of this message
basically you need to append to your include_path and you can probably create a local .htaccess file and set an include path in there (look up php_value syntax for .htaccess) otherwise start your script with a customised version of the following: ini_set("include_path",ini_get("include_path").":". "/your/path/here/"); then include/require as normal -- frank ----- Original Message ----- From: "anders thoresson" <listor@thoresson.net> To: <php-general@lists.php.net> Sent: Sunday, June 29, 2003 4:33 PM Subject: Re: [PHP] web site security: how to hide login info for mysql-connection > > Be aware that wherever you store the settings folder, your php.ini should > > have that path in it's include_directories setting, and the webserver > > must > > have read permissions for that file. > > I don't have access to php.ini on my ISP's web server. Is there a way for > a user to make their own set ow include_directories? > > -- > anders thoresson > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#153321) next »