Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Intranet User Login Required

Status
Not open for further replies.

jdmartin74

Programmer
Sep 13, 2002
45
US
Hi,

I've done some PHP4 programming, but I am fairly new to classes. I have got something working to handle a session, populating a MySQL database. This all works fine.

My next task is to use this in conjunction with forcing users to log on to an Intranet system. I need to be able to put something at the top of all my pages to determine if they are logged in (hence using the session stuff) and if they are logged in, let them view the page, but if they are not authenticated, then tell it to go to a login page.

I'm a bit lost at where to start. Can anyone help by pointing me in the right direction of some 'simple' examples?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top