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. Link to comment https://forums.phpfreaks.com/topic/95752-php-read-write-files/ 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. Link to comment https://forums.phpfreaks.com/topic/95752-php-read-write-files/#findComment-490246 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.