@Kaizerx wrote:
hey sir. i cant run my database when i apply the string protection, im using a pdo method in mysql. and here’s my sample code for it.
(in PHP SETTINGS )
str1 = “mypass”;(in DATAb.php )
$pass = exo_get_protstring('str1'); $rt2 = echo ("my password is : pass"); const PARAM_db_pass = $rt2; //====> Using PDO method
i dont know if the pdo is already secure due to the use of “const” word. but i just want to be more secure so i use string protection. . please help.
Posts: 2
Participants: 1