⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 functions.inc

📁 gnu的专业网关smpp协议支持源代码。
💻 INC
字号:
<?phpfunction http_send($URL,$port){ $connection = fsockopen(BEARERBOX_HOST,$port,&$error_number,&$error_description,60); if(!$connection) {  echo "<p>$error_description ($error_number)<br>\n";  echo "The SMS message was NOT sent!</p>\n"; } else {  socket_set_blocking($connection, false);  fputs($connection, "GET $URL HTTP/1.0\r\n\r\n");  while (!feof($connection)) {   $myline = fgets($connection, 128);   switch($myline)   {     case (strstr($myline, 'Content-')): break;     case (strstr($myline, 'HTTP/1')): break;     case "": break;     case "\r\n": break;     default: echo "<p>".$myline."</p>";   }  }  fclose ($connection); }}function octstr_append_cstr($mystring){ for($pos=0;$pos<strlen($mystring);$pos++) {  $mystring2 .= sprintf("%%%02x",$mystring[$pos]);  } return ($mystring2);}?>

⌨️ 快捷键说明

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