Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 为什么没人回答问题呢???

[复制链接]
zhuhuquan29 发表于 2010-5-18 13:32:08 | 显示全部楼层 |阅读模式
  1. <?php
  2. header("Content-type:text/html; charset=UTF-8");//字符编码
  3. require_once '../bbs2/bbs/include/common.inc.php';
  4. require_once '../bbs2/bbs/include/misc.func.php';
  5. require_once '../bbs2/bbs/include/login.func.php';
  6. require_once '../bbs2/bbs/uc_client/client.php';
  7. if($_GET['keyword']=='outlogin'){
  8.         uc_user_synlogout();
  9.         clearcookies();
  10.         echo '<SCRIPT LANGUAGE="JavaScript">
  11.                 <!--
  12.                 location.href="http://97.bjxinniang.com/project";
  13.                 //-->
  14.                 </SCRIPT>';
  15. }elseif($_GET['keyword']=='login'){
  16.         $result=userlogin();
  17.         uc_user_synlogin($discuz_uid);
  18.         echo "<script type='text/javascript'>location='".$_POST['forward']."';</script>";
  19. }
  20. else{
  21.         ?>
  22. <html>
  23. <head>
  24. <title>this is error page</title>
  25. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  26. <script type='text/javascript' src="zhaobiao/zbxinban/js/jquery.js"></script>
  27. <script type='text/javascript'>
  28.         $(function(){
  29.                 $('span').html('<a href="http://97.bjxinniang.com/"><font color="blue">返回主页</a>');
  30.                 $('#spans').css({color:'red'});
  31.         });
  32. </script>
  33. <noscript>
  34.         您的浏览器不支持<span id='spans'>JavaScript</span>
  35. </noscript>
  36. </head>
  37. <body>
  38.         <span></span>
  39. </body>
  40. </html>
  41.         <?php
  42. }
  43. ?>
复制代码
 楼主| zhuhuquan29 发表于 2010-5-18 13:32:59 | 显示全部楼层
本帖最后由 zhuhuquan29 于 2010-5-18 13:34 编辑

这是我第三方程序同步登陆的代码discuz是同步了
为什么uchome不能同步呢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-8 01:28 , Processed in 0.716760 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表