📄 updateshare_search_file.php
字号:
<?php
include_once( "inc/auth.php" );
include_once( "inc/conn.php" );
include_once( "inc/utility_all.php" );
$SHARE_USER = $_REQUEST['SHARE_USER'];
$SORT_ID = $_REQUEST['SORT_ID'];
$FILE_SORT = $_REQUEST['FILE_SORT'];
$CONTENT_ID = $_REQUEST['CONTENT_ID'];
$sens = $_REQUEST['sens'];
$order = $_REQUEST['order'];
$keyword = $_REQUEST['keyword'];
$doc = $_REQUEST['doc'];
$SEND_TIME = date( "Y-m-d H:i:s", time( ) );
$sql = "UPDATE file_content SET SHARE_USER='".$SHARE_USER."',\r\n\t\t\t\t\t\t\t\t\t\tSEND_TIME ='".$SEND_TIME."'\r\n\t\t\t\t\t\t\t\t\t\tWHERE CONTENT_ID = {$CONTENT_ID} ";
$connection = openconnection( );
$rs = exequery( $connection, $sql );
if ( $rs )
{
echo "<script language='javascript'>alert('修改成功!');</script>";
}
header( "location:search_file.php?doc={$doc}&keyword={$keyword}" );
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n<title>无标题文档</title>\r\n</head>\r\n";
echo "<s";
echo "cript language='javascript'>alert('修改成功!');</script>\r\n<body>\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -