Lifelesspeople.com

 Forum FAQsForum FAQs  KnowledgebaseKnowledgebase  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

I am desparate for help with php page login  Share

 
Lifelesspeople.com Forum Index -> Help Wanted
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
benjaminsegal
Novice Poster


Joined: 25 Jan 2009
Posts: 2


PostPosted: Sun Jan 25, 2009 2:31 pm    Post subject: I am desparate for help with php page login Reply with quote

I could really use some help with this if there anyone out there willing.

I am trying to create a site that has certain pages requiring users to login.
Can someone help me create the php script that checks if a user has logged in then direct them to a specified page or if not logged in, redirects to the login page.

Thanks!

Benjamin
Back to top
 
LP-SolidRaven
Evil Belgian Waffle


Joined: 06 Jun 2004
Posts: 8144
Location: Belgium

PostPosted: Sun Jan 25, 2009 4:15 pm    Post subject: Reply with quote

http://www.evolt.org/PHP-Login.....n-Features
_________________
Dilly dally, shilly shally.
Back to top
 
benjaminsegal
Novice Poster


Joined: 25 Jan 2009
Posts: 2


PostPosted: Sun Jan 25, 2009 6:32 pm    Post subject: Reply with quote

This is fantastic code. It is what I am using. What I need help with is the "access denied" page code.

it's a very short if then script

Many thanks!
Back to top
 
Xtreme $niper
Lifeless Person


Joined: 29 Mar 2005
Posts: 1870
Location: Canada

PostPosted: Sun Feb 01, 2009 10:58 am    Post subject: Reply with quote

What's actually funny here is that a year or two ago I decided to do this exact same thing, but I did it from scratch because I didn't bother to look for frameworks or pre-made code (I usually didn't trust random code that people would offer to use).

I think I did a good job of it but then again a hacker might come by and destroy what I created in a matter of seconds, so who knows. I'd go with something pre-built or a framework to be safe.
_________________
Come visit Shattered Abstracts! (Photoblog!)
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Help Wanted All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com