Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

Authentication system ...

Links for php scripts

Moderators: macek, egami, gesf

Authentication system ...

Postby drimades » Mon Jan 31, 2005 2:22 am

-----------------------------------------

I have an html page with two frames, one with the links and the other to load the various pages. One of the link in my first frame is "Login". I want to know how to make an authentication system (php) that allows the user to move in the other pages after the authentication. Can I use a global variable? How?

-----------------------------------------
drimades
New php-forum User
New php-forum User
 
Posts: 39
Joined: Wed Oct 29, 2003 2:11 pm

Postby Alexej Kubarev » Mon Jan 31, 2005 5:41 am

use sessions to store a user state (logged in/ logged out)
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Postby swirlee » Mon Jan 31, 2005 9:14 am

Don't reinvent the wheel; use one of the several very good PEAR Authentication packages.
User avatar
swirlee
Moderator
Moderator
 
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Postby Alexej Kubarev » Mon Jan 31, 2005 9:17 am

Dont use pear while you are learning... you need to know how it works -- before using something that is already done..
User avatar
Alexej Kubarev
Site Admin
Site Admin
 
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Postby ElectronicCrackr » Tue Feb 15, 2005 5:48 pm

I will help you with it. AIM is ElectronicCrackr for me, thanks
ElectronicCrackr
New php-forum User
New php-forum User
 
Posts: 5
Joined: Wed May 12, 2004 7:04 pm


Return to PHP Scripts

Who is online

Users browsing this forum: Google Feedfetcher and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.