Sweet. I'll check it out when ready and merge 

On Mar 17, 2014, at 7:27 PM, "Jeremy G" <mrjaydm@users.sf.net> wrote:

I agree the current login system is not good.
I have integrated this login system in to the script.
http://youhack.me/2010/04/01/building-a-registration-system-with-email-verification-in-php/
Its working out very well. I made the admin ID 1, Removed all instance of validatecookie() on the admin side and replaced it with
ob_start();
session_start();
if(isset($_SESSION['Memberid']) < 1 ){
header("Location: login.php");
}

User side removed validatecookie() and replaced it with
ob_start();
session_start();
if(!isset($_SESSION['Username'])){
header("Location: ../login.php");
}

I added include("header.php"); to all the login system pages. Changed index to register.php
Its working great...
All users have a session and now I can create a user page to view/edit/print brackets.

The code is a bit messy but I will clean it up and submit it later.
It will be after this years Madness...


What does login accomplish?


Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/tourney/discussion/1092265/

To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/