mike177 Posted March 12, 2008 Share Posted March 12, 2008 Hi, I have a admin area on my site. I want to for example disable registration or logging in. I can do this buy changing a value in the script to true or false but I want to be able to do this via the admin area. I know you can have a file and then use a php script / form to change a variable in it, Like a switch. Does anyone know a methode of doing this. Cheer's Thanks in advance for any help. Quote Link to comment Share on other sites More sharing options...
Northern Flame Posted March 12, 2008 Share Posted March 12, 2008 u can just insert the value (true or false) into a mysql database and then grab the value in your script. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.