0
A
回答
0
__block ASIFormDataRequest *request;
//login to SMF - this works
request = [ASIFormDataRequest requestWithURL: [NSURL URLWithString: @"https://imtgapp.com/forum/index.php?action=login2"]];
[request setPostValue: @"test" forKey: @"user"];
[request setPostValue: @"12345" forKey: @"passwrd"];
[request setPostValue: @"1" forKey: @"cookieneverexp"];
[request setPostValue: @"" forKey: @"hash_passwrd"]; //TODO ?
[request setValidatesSecureCertificate: NO];
[request setCompletionBlock: ^{
//TODO verify if login was successful
NSLog(@"%@", [request responseString]);
}];
[request setFailedBlock: ^{
NSLog(@"Unresolved error %@, %@", [request error], [[request error] userInfo]);
}];
[request startAsynchronous];
0
可以使用SSI功能:http://simplemachines.org/community/ssi_examples.php
<?php
require("SSI.php");
// Shows a login box only when user is not logged in
ssi_login();
?>
...
相關問題
- 1. 如何登錄到SMF論壇從另一種形式不使用SMF登錄表單
- 2. 保持登錄論壇
- 3. 香草論壇SSO的PHP不登錄到論壇
- 4. phpBB論壇自動登錄和搜索
- 5. 在論壇登錄中未捕獲TypeError
- 6. 登錄到phpBB論壇。 Cookie已更改
- 7. 用python登錄到vbulletin論壇
- 8. 如何使用C#登錄vbulletin論壇?
- 9. 使用Java登錄到vbulletin論壇
- 10. C#登錄xenForo論壇使用Webrequests?
- 11. PHP Curl登錄論壇,但不會保持登錄狀態?
- 12. 如何升級smf(簡單機器論壇)1.1.6到2.0.2?
- 13. SMF捲曲登錄問題php
- 14. 註冊並使用CURL登錄到SMF
- 15. Web登錄到論壇鏈接來存儲頁面源代碼
- 16. DELPHI/INDY/IdHTTP登錄invision電源板論壇?
- 17. 如何在網頁中使用phpbb登錄(論壇外)
- 18. bbPress論壇 - 重寫爲wwww.mysite禁止登錄
- 19. 以編程方式登錄論壇,然後屏幕截圖
- 20. 登錄與Web客戶端(cookieaware)論壇失敗
- 21. Joomla統一登錄論壇和自定義的php子站點
- 22. 論壇和OpenCart軟件之間的單用戶登錄
- 23. 我的網站的PHP論壇的唯一登錄
- 24. 如何到蘋果iphone論壇?
- 25. 如何從託管cPanel中找到並編輯SMF論壇網站?
- 26. 是否可以將我的數據庫與論壇(SMF,phpBB)數據庫集成?
- 27. SMF論壇 - 模板解析錯誤,而不是正常的PHP錯誤
- 28. SMF論壇立即失去會議,發生在所有瀏覽器
- 29. ASP.NET MVC論壇?
- 30. CouchDB的論壇?
什麼是SMF論壇? – KevinDTimm
簡單機器論壇 www.simplemachines.org – vburojevic