ucenter avatar.php,thinkphp和ucenter的整合

【实例简介】

附近包含有thinkphp的简单测试程序和一般程序,主要功能为两个程序是通过ucenter通信,使这两个程序可实现同步登录和注销,数据库都为ucenter自带的数据库,默认通信密钥为123456,配置下即可运行,注意ucenter版本为1.6,安装可百度!

【实例截图】

【核心代码】

d01fc08b-2f31-4963-abe8-9b5f2a74d3fd

├── test2

│   ├── api

│   │   └── uc.php

│   ├── close.gif

│   ├── code

│   │   ├── avatar.php

│   │   ├── friend.php

│   │   ├── login_db.php

│   │   ├── login_nodb.php

│   │   ├── logout.php

│   │   ├── pmlist.php

│   │   ├── pmwin.php

│   │   ├── register_db.php

│   │   └── register_nodb.php

│   ├── config.inc.php

│   ├── index.php

│   ├── uc_client

│   │   ├── client.php

│   │   ├── control

│   │   │   ├── app.php

│   │   │   ├── cache.php

│   │   │   ├── domain.php

│   │   │   ├── feed.php

│   │   │   ├── friend.php

│   │   │   ├── index.htm

│   │   │   ├── mail.php

│   │   │   ├── pm.php

│   │   │   ├── tag.php

│   │   │   └── user.php

│   │   ├── data

│   │   │   ├── cache

│   │   │   │   ├── apps.php

│   │   │   │   ├── badwords.php

│   │   │   │   ├── index.htm

│   │   │   │   └── settings.php

│   │   │   └── index.htm

│   │   ├── index.htm

│   │   ├── lib

│   │   │   ├── db.class.php

│   │   │   ├── index.htm

│   │   │   ├── sendmail.inc.php

│   │   │   ├── uccode.class.php

│   │   │   └── xml.class.php

│   │   └── model

│   │   ├── app.php

│   │   ├── base.php

│   │   ├── cache.php

│   │   ├── domain.php

│   │   ├── friend.php

│   │   ├── index.htm

│   │   ├── mail.php

│   │   ├── misc.php

│   │   ├── note.php

│   │   ├── pm.php

│   │   ├── tag.php

│   │   └── user.php

│   └── ucexample.js

└── test_think

├── api

│   └── uc.php

├── code

│   ├── avatar.php

│   ├── friend.php

│   ├── login_db.php

│   ├── login_nodb.php

│   ├── logout.php

│   ├── pmlist.php

│   ├── pmwin.php

│   ├── register_db.php

│   └── register_nodb.php

├── Conf

│   └── config.php

├── config.inc.php

├── Cookies.php

├── include

│   └── db_mysql.class.php

├── index.php

├── Lib

│   └── Action

│   └── IndexAction.class.php

├── Runtime

│   ├── Cache

│   │   ├── 0573c70d8602d961e53f714ea77bd87c.php

│   │   └── e8568df8a19c29577f2311dc0f32ca68.php

│   └── Logs

│   ├── 12_06_23.log

│   └── 12_06_25.log

├── ThinkPHP

│   ├── Common

│   │   ├── alias.php

│   │   ├── compat.php

│   │   ├── convention.php

│   │   ├── core.php

│   │   ├── debug.php

│   │   ├── defines.php

│   │   ├── extend.php

│   │   ├── functions.php

│   │   ├── paths.php

│   │   └── runtime.php

│   ├── Lang

│   │   └── zh-cn.php

│   ├── Lib

│   │   └── Think

│   │   ├── Core

│   │   │   ├── Action.class.php

│   │   │   ├── App.class.php

│   │   │   ├── Log.class.php

│   │   │   ├── Model

│   │   │   │   ├── AdvModel.class.php

│   │   │   │   ├── RelationModel.class.php

│   │   │   │   └── ViewModel.class.php

│   │   │   ├── Model.class.php

│   │   │   ├── Think.class.php

│   │   │   └── View.class.php

│   │   ├── Db

│   │   │   ├── Db.class.php

│   │   │   └── Driver

│   │   │   ├── DbMysql.class.php

│   │   │   └── DbMysqli.class.php

│   │   ├── Exception

│   │   │   └── ThinkException.class.php

│   │   ├── Template

│   │   │   ├── TagLib

│   │   │   │   ├── TagLibCx.class.php

│   │   │   │   └── TagLibHtml.class.php

│   │   │   ├── TagLib.class.php

│   │   │   └── ThinkTemplate.class.php

│   │   └── Util

│   │   ├── Behavior.class.php

│   │   ├── Cache

│   │   │   └── CacheFile.class.php

│   │   ├── Cache.class.php

│   │   ├── Cookie.class.php

│   │   ├── Debug.class.php

│   │   ├── Dispatcher.class.php

│   │   ├── HtmlCache.class.php

│   │   ├── Session.class.php

│   │   ├── Template

│   │   │   ├── TemplateSmarty.class.php

│   │   │   └── TemplateThink.class.php

│   │   └── Widget.class.php

│   ├── LICENSE.txt

│   ├── ThinkPHP.php

│   └── Tpl

│   ├── Autoindex

│   │   ├── hello.html

│   │   └── pointer.php

│   ├── AutoIndex.tpl.php

│   ├── BuildModeIndex.tpl.php

│   ├── DefaultIndex.tpl.php

│   ├── dispatch_jump.html

│   ├── PageTrace.tpl.php

│   ├── ThinkCheckIndex.tpl.php

│   └── ThinkException.tpl.php

├── thinkphp2.0-for-ucenter1.5(修正1.1).readme.txt

├── Tpl

│   └── default

│   └── index

│   └── login.html

├── uc_client

│   ├── client.php

│   ├── control

│   │   ├── app.php

│   │   ├── cache.php

│   │   ├── domain.php

│   │   ├── feed.php

│   │   ├── friend.php

│   │   ├── index.htm

│   │   ├── mail.php

│   │   ├── pm.php

│   │   ├── tag.php

│   │   └── user.php

│   ├── data

│   │   ├── cache

│   │   │   ├── apps.php

│   │   │   ├── badwords.php

│   │   │   ├── index.htm

│   │   │   └── settings.php

│   │   └── index.htm

│   ├── index.htm

│   ├── lib

│   │   ├── db.class.php

│   │   ├── index.htm

│   │   ├── sendmail.inc.php

│   │   ├── uccode.class.php

│   │   └── xml.class.php

│   └── model

│   ├── app.php

│   ├── base.php

│   ├── cache.php

│   ├── domain.php

│   ├── friend.php

│   ├── index.htm

│   ├── mail.php

│   ├── misc.php

│   ├── note.php

│   ├── pm.php

│   ├── tag.php

│   └── user.php

├── ucexample_1.php

├── ucexample_2.php

└── ucexample.js

45 directories, 157 files

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值