just wondering is there any way of adding an administrator but limiting his/her control? wouldn't want to add one if they could change my rank? any ideas? thanks
Adding an administrator
$update="update sometable set admnistrator="foo", privileges="none" where id=$bar";
$res=mysql_query($update);
thanks! i'm gona sound stupid though, i presume i cut & paste that code, but where do i put it? or have i no chance of understanding!!
Well, I didn't figure you'd understand; I didn't understand what you were asking, either. So, here goes:
What are you adding an "administrator" to? Your Windows computer? The staff at your children's elementary school? A large server farm? A hospital staff that you hired? Or, maybe some forum, written, I presume, in PHP??
You gotta give some more information --- it sounds like you assume everyone here is looking over your shoulder....
its just a php forum, nothing major, just for friends n stuff. i wanna add another administrator to the forum as i'm not always able to access the forum so would be good to have another person to do it. just don't wana add one if they could change my rank, say from administrator to user. thanks
Well, fair enough; your best resource would be to go to the documentation and/or web site for the particular piece of forum software you are running.
Here are a couple: www.phpbb.com, www.vbulletin.com (this site, for example, runs on vbulletin). PhpBB is a popular, free, forum. There are many others.
As to your exact question, I'd check out either the "Administrator" page, or the "config" file, but I don't know which; if you come back with the actual name of the software you run, someone (but probably not me) might have a little more info for you. But, as I mention, you'd probably find the right kind of expert at a forum devoted specifically to your particular brand of forum software.
Also, and just a thought: I dunno if forum developers have made allowances for "limiting" the power of the administrator. So, I don't know if what you're asking is possible; but, I will wish ya "good luck!"