NYCPHP Meetup

NYPHP.org

[nycphp-talk] best code for Login !.

Hans Zaunere zaunere at yahoo.com
Thu Jun 13 21:41:49 EDT 2002


How would this work:

$myparadigm = new Paradigm;
$myparadigm->Authorize('username','password');
if( $myparadigm->Result === LOGGED_IN )
  header('Location: http://me.com/protected.php');
else
  header('Location: http://me.com/login.php');

I'm working on delivering this as a web service.  I'll have beta code
up within the next few days (I had it done, but didn't like it).

HZ



--- louie <louie at zibi.co.il> wrote:
> greetin' folks ! ^-^
> 
> me and a friend was trying to pick
> the best way to the most simple and scure code
> for Login 
> with already existing user and password in Mysql.
> 
> 
> best regards !
> snir 'shalom' gal.
> www.ChatsRus.com
> 
> A pig's orgasm lasts for 30 minutes.
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the talk mailing list