stoopidemu Posted September 11, 2009 Share Posted September 11, 2009 Sorry if this is in the wrong forum. I have a dead simple project that I'm working on for a client using PHP. It involves two changes to their website. One is to create a page with a simple login (there will only be one user and the user information will never change) and once logged in a form with one text box and two commands, Post and Clear The other is on the main page where the text of that text box would either load at the top of the page if something had been posted, or not if it had been cleared. Clearly I could use SQL for this data, but that it seems like there should be a better way to store this data than creating a while database for one line of text and a username/password combo that will never change. It would also be nice if I didn't have to use PHP to grab the information on the main page, but rather a scripting language of some kind (probably java script) Any thoughts? Link to comment https://forums.phpfreaks.com/topic/173910-alternatives-to-relational-databases/ Share on other sites More sharing options...
Cosizzle Posted September 11, 2009 Share Posted September 11, 2009 First don't use Javascript for username and password. Simply because JS can be toggled on and off by the user. If you dont want to use a database (which is probably best practice) perhaps just hard code the username and password in as PHP variables? Link to comment https://forums.phpfreaks.com/topic/173910-alternatives-to-relational-databases/#findComment-916769 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.