Current location: Hot Scripts Forums » General Community » Script Requests » php script to see if user is admin


php script to see if user is admin

Reply
  #1 (permalink)  
Old 11-23-11, 05:47 PM
blendmaster345 blendmaster345 is offline
New Member
 
Join Date: Nov 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
php script to see if user is admin

I have a mySQL database with 2 tables: registered and admins
registered contains all user's information, and admins contains the usernames of the system admins
I ned a php script to see if the logged in user's username is in the admins table, or else just not allow access.

thank you, blendmaster345
~~~~~~~~
Reply With Quote
Reply

Bookmarks

Tags
admins, mysql, php, request, script


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP user recognition/login script Gawdsed PHP 1 09-12-11 12:10 PM
custom php script needed alley Job Offers & Assistance 5 06-30-10 02:14 AM
PTC Script Lanshire Job Offers & Assistance 2 11-20-08 02:18 PM
Video PHP Script - New Videos Daily yelbom General Advertisements 0 03-03-06 01:04 AM
need help writing script to let user edit thier html or php files pinochio53 PHP 14 12-15-03 07:26 AM


All times are GMT -5. The time now is 10:14 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.