📄 send.php
字号:
<?php
include_once( "../auth.php" );
include_once( "inc/conn.php" );
include_once( "inc/utility_sms1.php" );
echo "\r\n<html>\r\n<head>\r\n<title>发送短信</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n</head>\r\n\r\n<body>\r\n\t\r\n";
$query = "SELECT * from USER where USER_NAME='".$TO_NAME."'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
$TO_ID = $ROW['USER_ID'];
send_sms( "", $LOGIN_USER_ID, $TO_ID, 0, $CONTENT );
echo "短信发送成功<br>\r\n<a href=\"index.php?P=";
echo $P;
echo "\">返回</a>\r\n";
}
else
{
echo "指定的收信人姓名不存在<br>\r\n<a href=\"javascript:history.back()\">返回</a>\r\n";
}
echo "\r\n</body>\r\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -