Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old March 22nd, 2004   #1 (permalink)
ur babys father... maybe
 
stAr-fire's Avatar
 
Join Date: Feb 2004
Posts: 56
Question php help

i want to figure out how to make a little password protected admin area on my site were it will have all the different little admin things or whatever... and have like 3-4 usernames/passwords that will work if you know what i mean... i cant find a tutorial that will help me with it so someone please post
__________________
stAr-fire is offline   Reply With Quote
Old March 22nd, 2004   #2 (permalink)
Administrator
 
moomoomoo's Avatar
 
Join Date: Jul 2002
Location: UK
Posts: 843
www.hotscripts.com may have something of your liking. Ensure you choose a good script though, to ensure reasonable security and such.
moomoomoo is offline   Reply With Quote
Old March 22nd, 2004   #3 (permalink)
NSBQ nut
 
Nezzar's Avatar
 
Join Date: Aug 2001
Location: .de
Posts: 1,208
I assume your already familiar with php's sessions for the following
1. Have a simple login form.
2. In the page the data is posted to you have to check wether the login is correct. If so, do something like this
PHP Code:
$_SESSION['bIsAdmin'] = true
3. On all the restricted pages check if this variable is set to true (and if it exists) and act accordingly.
__________________
Bred for its skills in magic
Nezzar is offline   Reply With Quote
Old March 22nd, 2004   #4 (permalink)
ur babys father... maybe
 
stAr-fire's Avatar
 
Join Date: Feb 2004
Posts: 56
umkay

yah ill check out hotscripts... the second part made a little sence to me but not alot because i have just started learning php but thank you both
__________________
stAr-fire is offline   Reply With Quote
Old March 28th, 2004   #5 (permalink)
3D Gamer
 
Join Date: Jan 2004
Location: Mars sector 11
Posts: 226
there's a admin area script located at www.spoono.com. Search around that site ;p
[Thoughtless] is offline   Reply With Quote
Old March 29th, 2004   #6 (permalink)
ur babys father... maybe
 
stAr-fire's Avatar
 
Join Date: Feb 2004
Posts: 56
k thanks alot guys
__________________
stAr-fire is offline   Reply With Quote
Reply

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:23.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5