的網絡服務。 另一個團隊爲iPhone做手機版。 所以其他團隊要求我做一個Web服務進行認證。 他們知道他們會送我:使用CodeIgniter 1.7框架創建我的網站CodeIgniter
POST REQUEST
Input : login , password, push_token
if failure authentification -> Output HTTP : error code 0
if success -> Output XML :
<DATA>
<User id='id_user' title='..' first_name='' last_name='' email='' postal='' country_id=''/>
</DATA>
基本上我有這個功能認證:
function check_login($username="", $password="")
{
$username = $_POST['username'];
$password = $_POST['password'];
...
...
}
即時尋找到這個職位Codeigniter web services,但我不明白它到底是如何,因爲即時通訊新工作在web服務。
感謝張貼adam whitney tut – cartalot