penguine
03-07-2005, 03:37 PM
I want to build a page to hold my mysql stuff in order to make my code more secure. Yet I can't find a tutorial in any books nor on the net of how to build a page to do this. How do I do this?
|
Click to See Complete Forum and Search --> : How do I build a config.php page? penguine 03-07-2005, 03:37 PM I want to build a page to hold my mysql stuff in order to make my code more secure. Yet I can't find a tutorial in any books nor on the net of how to build a page to do this. How do I do this? Nutter 03-07-2005, 04:22 PM Are you describing a config.php file so you don't have to enter your connection info into every page? If so: - the file config.php is just a list of variables ($dbhost=localhost; $dbuser=username; $dbpass=password;). - Include the config.php file on any file that needs it and the variables will be available. penguine 03-07-2005, 06:19 PM Okay. Thanks. ^_^ webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |