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
* 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
>
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
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
4 matches
Mail list logo