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

2002-01-28 Thread Peter Adams \(IKN\)
> >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 >

[PHP-DB] 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

[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

[PHP-DB] 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