Integrate the QQ login interface into your website and how to modify the configuration

Source: Internet
Author: User

Http://www.phpfensi.com/php/20140727/3998.html

Summary: The official QQ Login SDK has been modified to make it easier to integrate into its own website ...

QQ Login to the official SDK to make some changes, making it easier to integrate into their own website up.

Instructions for use:

1, to http://connect.qq.com/application QQ login AppID, Appkey.

2, the QQ login interface decompression, and then the entire QQ directory to upload to your website up.

3, Run http://Your domain name/qq/install.php, the QQ login to configure.

4. Add two fields to the database user table, Access_token (varchar (50)), OpenID (varchar (50)).

5, open qq/config.php, will be inside the database connection, user table information to modify the corresponding information on your site, and then upload coverage.

6, open qq/oauth.php, the 12th row, 25 lines to modify your site after the successful login is how to save the user ID session.

7, open qq/bind.php, the 12th row, 46 lines to modify your site after the successful login is how to save the user ID session.

8, will <a href=#>

Integrate the QQ login interface into your website and how to modify the configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.