Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Alan McFarlane
If you know you are running on an apache server, you could try using a simple .htaccess file in a (say) etc directory which contains any or all files you wish to secure. ie: /index.php /etc/config.php /etc/.htaccess --index.php --etc/config.php $config['db_host']="sql"; $confi

Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Brian Clark
* Miles Thompson ([EMAIL PROTECTED]) [Jan 27. 2002 19:55]: Hi Miles, [...] > $hostname = "12.34.56.78"; > $user = "username"; > $password = "password"; > $dbname = "database"; > and change your connection string as follows: > include 'params.inc'; > //maybe some other stuff her >

[PHP] [PHP-DB] Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Paul DuBois
At 16:59 -0800 1/27/02, Fred wrote: >If this file has a .php extension remote users will not have access to the >variables because the file is parsed by php and they never see the actual >file contents when requesting the document via the web. If you are >concerned with users on localhost having

Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Fred
If this file has a .php extension remote users will not have access to the variables because the file is parsed by php and they never see the actual file contents when requesting the document via the web. If you are concerned with users on localhost having access to the file, simply give it the c