> >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
>
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
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