send.php

来自「极限网络智能办公系统 Office Automation V3.0官方100%源」· PHP 代码 · 共 37 行

PHP
37
字号
<? 
include_once("../auth.php"); 
include_once("inc/conn.php"); 
include_once("inc/utility_sms1.php"); 
?> 

<html> 
<head> 
<title>发送短信</title> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
</head> 

<body> 
      
<? 
$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); 
?> 
短信发送成功<br> 
<a href="index.php?P=<?=$P?>">返回</a> 
<? 
} 
else 
{ 
?> 
指定的收信人姓名不存在<br> 
<a href="javascript:history.back()">返回</a> 
<? 
} 
?> 

</body> 
</html>

⌨️ 快捷键说明

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