connectnim.php 387 B

12345678
  1. <?php
  2. header("Content-type:text/html;charset=utf-8");
  3. require './ServerAPI.php';
  4. //网易云信分配的账号,请替换你在管理后台应用下申请的Appkey
  5. $AppKey = '9db7587502c900c7cad2d8489f98c0d8';
  6. //网易云信分配的账号,请替换你在管理后台应用下申请的appSecret
  7. $AppSecret = '820ba4521b7b';
  8. $p = new ServerAPI($AppKey, $AppSecret, $_SESSION['name']);