I've been running into a problem recently and don't know how to work around it. The issue is that when accessing a database (MySQL) with PHP, you login with a username/password in your PHP script. This is all fine and dandy, but how do you keep your visitors from downloading the PHP script and finding the username/password directly from there? How do you, for instance, have a registration form with a PHP script it posts to, and allow the PHP script to access the database without allowing visitors to see the script?