Is there other way to hide the password of mysql inside in PHP.
I have some example,
is there other trick's to hide this password?
I don't know also if the way calling of connection is secure.
if you have some best idea or other way to secure MySql connection, advance thank you so much.
I have some example,
PHP:
<?php
$dbuser="root";
$dbpass="12345";//-----secure password
$host="localhost";
$db="Student";
$mysqli=new mysqli($host,$dbuser, $dbpass, $db);
?>
is there other trick's to hide this password?
I don't know also if the way calling of connection is secure.
PHP:
include('./vendor/inc/Config.php');
if you have some best idea or other way to secure MySql connection, advance thank you so much.
Last edited: