Jump to content

Archived

This topic is now archived and is closed to further replies.

runnerjp

membership system

Recommended Posts

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

Share this post


Link to post
Share on other sites
so you want to redirect someone to a new page after sign in?

header("location:members.php");

Share this post


Link to post
Share on other sites
For creating a membership script have a read of [url=http://www.phpfreaks.com/tutorials/65/0.php]this tutorial[/url]. Also there are loads more tutorials out there for creating a membership system too.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.