Help - Search - Members - Calendar
Full Version: [resolved] Build a Blog Security
Codegrrl.com Forums > Script Help > Tutorial Help
tjs
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
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) smile.gif
tjs
QUOTE(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) smile.gif


thanks for the info!
clap.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.