PHP and MySQL
Posted on 2002-03-17
OK, I have a small question: when connecting to a MySQL database, I use the mysql_connect( server, username, password). It seems like this is a pretty big security hole to me, since I'm typing in my password in clear text. Wouldn't it be possible for someone to view my php file and find the password, then log into my database??? If so, isn't there a safer and a more secure way to connect to a MySQL Database?