Location: PHPKode > projects > NetOffice > netoffice/mantis/user_reset_pwd.php
<?php
#Application name: PhpCollab
#Status page: 0
	# Mantis - a php based bugtracking system
	# Copyright (C) 2000 - 2002  Kenzaburo Ito - hide@address.com
	# This program is distributed under the terms and conditions of the GPL
	# See the README and LICENSE files for details
?>
<?php include( "../mantis/core_API.php" ) ?>
<?php //login_cookie_check() ?>
<?php
	db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );

	//check_access( ADMINISTRATOR );

	# get all form values from phpcollab
	$f_id	= $idSession;

	# update action
	$query = "UPDATE $g_mantis_user_table
		  SET password= '$cnpw'
		  WHERE id='$f_id'";
	$result = db_query( $query );
?>
Return current item: NetOffice