no_pass.php

来自「极限网络智能办公系统—MYOA26—100%—源程序。」· PHP 代码 · 共 15 行

PHP
15
字号
<?php

include_once( "inc/auth.php" );
include_once( "inc/utility_all.php" );
$connection = openconnection( );
if ( $LOGIN_USER_ID == "admin" )
{
	$PASSWORD = crypt( $PASSWORD );
	$query = "update USER set PASSWORD='{$PASSWORD}', LAST_PASS_TIME='' where USER_ID='{$USER_ID}'";
	exequery( $connection, $query );
	add_log( 11, $USER_ID, $LOGIN_USER_ID );
}
header( "location: user_new.php?DEPT_ID={$DEPT_ID}" );
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?