1. place the config file containing the db access above the web root to avoid this
2. add some code to validate that a defined variable is there before allowing access
3. VALIDATE the data being passed to the script
4. ensure that your application validates the user and their permissions
_________________
Lostboy
Cat, the other other white meat
Please read
Posting Etiquette before posting
You can always try
Google