Given that we use code like the following:
-
<?php
-
session_start();
-
$DATABASE_HOST = 'localhost';
-
$DATABASE_USER = 'user';
-
$DATABASE_PASS = 'password';
-
$DATABASE_NAME = 'library';
-
What is the point of the password, if we can see the password in the PHP code, considering that its trivial
to download the PHP script from the server? It seems rather pointless to me.