A
Anonymous
Guest
hi experts!
i'm a newbie trying to develop an forum.... anyway, it appears that on any page that i need to access the mySQL database, i have litterally put down the password and username of on the php page. in order to make the query to the database, is it the common way that the professional webpage does? i mean, who ever crack the host provider, they can get the password and username and do nasty thing to it. or the admin of the host provider can access your database and God knows what they do about it... is there any other way to block or at least hide the username and password to everyone else except the owner?
thanks
i'm a newbie trying to develop an forum.... anyway, it appears that on any page that i need to access the mySQL database, i have litterally put down the password and username of on the php page. in order to make the query to the database, is it the common way that the professional webpage does? i mean, who ever crack the host provider, they can get the password and username and do nasty thing to it. or the admin of the host provider can access your database and God knows what they do about it... is there any other way to block or at least hide the username and password to everyone else except the owner?
thanks