Page 1 of 1

noob question..

Posted: Tue Jun 21, 2005 9:11 am
by mickd
hi, i was just wondering if there was a way to hide or not have your mysql database name and password in your code (mysql_connect) for scripts that require you to check if something exists or to add/delete something into the database. im just making sure that if i have to have my database name and password in the script that it cant be extracted from the code ;)

thanks for any replies and helpers in advance and sorry if this sounds very noob to ask :oops:

thanks :)

Posted: Tue Jun 21, 2005 9:37 am
by neophyte
If the issue is security you can put the db username and password in a non -public directory if you wish. But you still have to have it in a file.