OK ... kinda new to this, but I have a general question regarding mysql privileges.
Suppose a certain user creates a database with tables, etc that he will access thru PHP on some hosted site.
In the PHP code, to access the database, he needs to do a:
mysql_connect(host, username, password);
Since this code is in a public area, will other users of the host have read access to the PHP code and be able to see the username/password combo and be able to alter the tables?
Is there something I'm missing here?
Thanks
Suppose a certain user creates a database with tables, etc that he will access thru PHP on some hosted site.
In the PHP code, to access the database, he needs to do a:
mysql_connect(host, username, password);
Since this code is in a public area, will other users of the host have read access to the PHP code and be able to see the username/password combo and be able to alter the tables?
Is there something I'm missing here?
Thanks