Location: PHPKode > scripts > User Manager > user-manager/examples/example2.php
<?php

include_once("usermanager.php");

UM = new UserManager;

// Change the username max length
UM->USR_MAXCHARS = 50; // Default 30

// Change the HOMEPAGE to link by default (Default "/index.php")
UM->HOMEPAGE = "http://example.org/index.php"; // may also be "../index.php"

// Change the redirection page to access after the login (Default "/index.php")
UM->REDIR_PAGE = "http://example.org/myredirection.php";

// Change the links to LOGIN|REGISTER|FORGOT PASSWORD
$UM->LOGIN|REGISTER|FORGOTPW = "a_page_on_your_site.php";

?>
Return current item: User Manager