Location: PHPKode > projects > WB News > examples/example_login.php
<?php

/*

	Can be used best when using Send to friend to link to this page. 

*/
define('wbnews',true);

include "../global.php";
include $config['installdir']."/users.php";

$user = new user($newsConfig);
if ($user->protectedArea()!=TRUE)
    $user->logIn();
else
    echo "Logged In";

?>
Return current item: WB News