I am getting confused by PHP at this point. I am trying to make a membership site but need a way to protect all my pages from unauthenticated access. Can someone steer me how to do this through PHP? I already have the database that does create accounts but once the account is created people can access the page as long as they know the full URL.
tstory28
0
Light Poster
Recommended Answers
Jump to PostHave you searched this site or the internet for login scripts? You'll find a few thousand. Just research.
Jump to PostOn form login - send details to a form handler file. Verification takes place, a session variable is set if user exists with details like username, userlevel. A paage redirect then occurs - usually back to the index page.
The index page shows different data, depending on whether the …
All 6 Replies
diafol
tstory28
0
Light Poster
diafol
karthik_ppts
commented:
useful post
+5
karthik_ppts
81
Posting Pro
tstory28
0
Light Poster
diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.