看板 PHP 關於我們 聯絡資訊
※ 引述《janet1 (★天秤女~佳佳就是我★)》之銘言: : 請問有沒有人知道 : 使用google帳號登入要怎麼做??? : 像這樣 : https://login.yahoo.com/config/login?.intl=tw&.pd=c%3d7pP3Kh2p2e4XklntZWWfDLAC8w--&.done=https://tw.login.yahoo.com/cgi-bin/kcookie.cgi/blog/http%3A%2F%2Ftw.blog.yahoo.com%2F : 在網路上找了許多google account的相關資料 : google API : 不過都沒講到要怎麼串 : 用FB帳號登入反而比較多資料 : help~~ http://gitorious.org/lightopenid An PHP 5 library for easy openid authentication. Client login for Google Account: $openid = new LightOpenID('www.example.com'); $openid->identity = 'https://www.google.com/accounts/o8/id'; header('Location: ' . $openid->authUrl()); The library requires PHP >= 5.1.2 with curl or http/https stream wrappers enabled. Please check your web server configuration (Apache, lighttpd, nginx) Try it. -- CodeIgniter 繁體中文手冊:http://goo.gl/T25Fk CodeIgniter 繁體中文討論區:http://goo.gl/AdcRz CodeIgniter 中文官方網站:http://goo.gl/0NrVi CodeIgniter Github: http://goo.gl/2nVZr -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.247.243