Plug-in Posted September 25, 2009 Share Posted September 25, 2009 I've got a simple file upload script but I only want site staff to have access, I am currently running a mybb forum and I want to know how I can make it so that only users from the specific usergroup can gain access (if logged in). Link to comment https://forums.phpfreaks.com/topic/175488-restricted/ Share on other sites More sharing options...
JonnoTheDev Posted September 25, 2009 Share Posted September 25, 2009 Use a conditional statement. i.e if($userGroup == 'admin') { // display file upload } Link to comment https://forums.phpfreaks.com/topic/175488-restricted/#findComment-924801 Share on other sites More sharing options...
Plug-in Posted September 26, 2009 Author Share Posted September 26, 2009 Use a conditional statement. i.e if($userGroup == 'admin') { // display file upload } Thanks, rep Link to comment https://forums.phpfreaks.com/topic/175488-restricted/#findComment-925260 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.