Hi guys,
What I'm trying to do is this:
- Have a page where a few people can submit info into my mySQL database. How can I make the connection to the db without connecting as the root user(the thing is I can't create any more users because the web hosting provider gives me only one user to the db).
- On the main page I want to be able to retrieve the db info, but how do I make a connection without connecting as the root user.
If I do have to connect as the admin user how do I hide the credentials(right now they are in the connect.php file)
Also I am worried about malicious users using a program to overflood the db. How would I go about preventing this.
I would be absolutely greatful if you guys pointed me in the right direction. Thanks in advance.
Andrei