Jump to content


Photo

membership system


  • Please log in to reply
3 replies to this topic

#1 runnerjp

runnerjp
  • Members
  • PipPipPip
  • Advanced Member
  • 2,214 posts

Posted 07 July 2006 - 11:13 AM

hey all once again

i have been having some trouble setting up a membership system.... i have set numerous once up but i could not get it to be like what i wanted it to be... once you sign in it swent you to a page where there where links to pages u could get to when beeing a member yet if u typed the url into browser u could still access the pages...useless!!!
i have recently got rid of the login scripts and ready to start from scratch
wat i want to know is how can i makeit so if a users signs in it send you to the same homepage as i have set up but this time has member links!!
can any one help me set all this up...bare in mind im startin from scratch... i wud be very very gr8full

#2 GingerRobot

GingerRobot
  • Staff Alumni
  • Advanced Member
  • 4,086 posts
  • LocationUK

Posted 07 July 2006 - 11:34 AM

so you want to redirect someone to a new page after sign in?

header("location:members.php");

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 07 July 2006 - 11:36 AM

For creating a membership script have a read of this tutorial. Also there are loads more tutorials out there for creating a membership system too.

#4 craygo

craygo
  • Staff Alumni
  • Advanced Member
  • 1,973 posts
  • LocationRhode Island

Posted 07 July 2006 - 03:11 PM

Once the person in logged in you could assign a session id to a group or something. Then when the page is opened the first thing it should look to see if the session is assigned, if not, post message and redirect back to login page.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users