phpcms整合phpwind87的phpsso点php文件.docVIP

  • 25
  • 0
  • 约4.12千字
  • 约 4页
  • 2017-08-18 发布于江苏
  • 举报
phpcms整合phpwind87的phpsso点php文件.doc

?php ? define(SCR,member); require_once(global.php); require_once(R_P.lib/client.class.php); require_once(R_P.require/functions.php); ? define(APPID, 2);//phpsso id $ps_api_url = http://localhost/0909/phpsso_server;//接口地址 $ps_auth_key = dujgz7vdujryrze1l64hmxblconcujft;//加密密钥 ? $client = new client($ps_api_url, $ps_auth_key); $code = $_GET[code]; parse_str($client-sys_auth($code, DECODE), $arr); if(isset($arr[action])) { $action = $arr[action]; } else { exit(0); } ? /** * 测试通信状态 */ if ($action==check_status) exit(1); ? /** * 添加用户 */ require_once (R_P . uc_client/uc_client.php); if ($action==me

文档评论(0)

1亿VIP精品文档

相关文档