users
[ class tree: users ] [ index: users ] [ all elements ]

Source for file confirm.php

Documentation is available at confirm.php

  1. <?php
  2. /**
  3.  * $Header: /cvsroot/bitweaver/_bit_users/confirm.php,v 1.5 2006/09/12 19:26:48 spiderr Exp $
  4.  *
  5.  * Copyright (c) 2004 bitweaver.org
  6.  * Copyright (c) 2003 tikwiki.org
  7.  * Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
  8.  * All Rights Reserved. See copyright.txt for details and a complete list of authors.
  9.  * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
  10.  *
  11.  * $Id: confirm.php,v 1.5 2006/09/12 19:26:48 spiderr Exp $
  12.  * @package users
  13.  * @subpackage functions
  14.  */
  15.  
  16. /**
  17.  * required setup
  18.  */
  19. require_once'../bit_setup_inc.php' );
  20.  
  21. if!empty$_REQUEST["v"&& strpos$_REQUEST["v"]':' ) ) {
  22.     list$userId$provPass split':'$_REQUEST["v");
  23. }
  24.  
  25. if!empty$userId && !empty$provPass && $userInfo $gBitUser->confirmRegistration$userId$provPass ) ) {
  26.     $gBitSmarty->assign_by_ref'userInfo'$userInfo );
  27.     $gBitSystem->display'bitpackage:users/change_password.tpl''Confrim Password Change' );
  28. else {
  29.     $gBitSystem->fatalErrortra("This confirmation link is no longer valid.  Please Login or <a href=\"".USERS_PKG_URL."remind_password.php\">request a new password change</a>") );
  30. }
  31. ?>

Documentation generated on Thu, 15 Feb 2007 20:35:22 +0000 by phpDocumentor 1.3.0