|
-
Jan 12th, 2010, 01:18 PM
#1
Thread Starter
Hyperactive Member
Storing info in $var against a cookie
I have a config.php file which I use to connect to my database.
Within this file I also have variables such as $sitename, $siteurl etc. I use these in my other pages so I don't have to always type in the same link information etc.
I was wondering whether to store this information in my database however. On the one hand saving the info in variables on my config.php file is quick and easy. However I thought that saving a database in a database is that bit more secure.
I wouldn't be saving anything secure in the config.php file - no passwords etc; only sitename, url etc...
Any thoughts on which to use?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|