Location: PHPKode > projects > WB News > examples/example_reguser.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->register();
else
    echo "Logged In";

?>
Return current item: WB News