tjs
Feb 13 2007, 06:08 PM
Hey,
I really like the Build a Blog tutorial, but I have one concern. At the top of a lot of the files, I have to put my MySQL username, password, etc. I'm worried that someone will be able to view the source and steal that info. How can I prevent that from happening?
Jem
Feb 13 2007, 08:13 PM
PHP files are parsed at the server before they reached the browser - people can't see the contents of a .php file by viewing the source - only what the script is meant to display (the results of whatever the script is doing) (try it yourself)