View ผมต้องการทำแบบในรูปน่ะครับ ปัญหาคือยังหา "system A" ไม่เจอ -_-" บางทีมันอาจง่าย ระดับที่นำ feed ไปฝากไว้กับ feed aggregator ที่ทำ authentication ได้ หรือจะเขียนซอฟต์แวร์บน localhost แล้วให้มันทำ automation เอา ขอบคุณล่วงหน้าครับ ผมเข้ามาอ่านทุกคำตอบ
ถ้า Server มี cron nuuneoi Sat, 24/01/2009 - 13:03 ถ้า Server มี cron ก็ตั้ง Cron ให้มันไปรัน php script ดาวน์โหลด rss feed โดยมี HTTP Basic Authorization อยู่บน header สมมติ username = hello และ password = world ก็จะต้องส่ง request ประมาณว่า GET /statuses/friends_timeline.rss HTTP/1.1 Host: http://twitter.com Authorization: Basic aGVsbG86d29ybGQ= โดยที่ aGVsbG86d29ybGQ= คือผลลัพธ์ของฟังก์ชั่น base64_encode("hello:world"); http://www.nuuneoi.com Log in or register to post comments ทำไมไม่ส่ jane Sat, 24/01/2009 - 14:34 ทำไมไม่ส่ง sha1("hello:world") ไปนะ user&pass จะได้ไม่รั่วไหล Log in or register to post comments
ถ้า Server มี cron nuuneoi Sat, 24/01/2009 - 13:03 ถ้า Server มี cron ก็ตั้ง Cron ให้มันไปรัน php script ดาวน์โหลด rss feed โดยมี HTTP Basic Authorization อยู่บน header สมมติ username = hello และ password = world ก็จะต้องส่ง request ประมาณว่า GET /statuses/friends_timeline.rss HTTP/1.1 Host: http://twitter.com Authorization: Basic aGVsbG86d29ybGQ= โดยที่ aGVsbG86d29ybGQ= คือผลลัพธ์ของฟังก์ชั่น base64_encode("hello:world"); http://www.nuuneoi.com Log in or register to post comments
ทำไมไม่ส่ jane Sat, 24/01/2009 - 14:34 ทำไมไม่ส่ง sha1("hello:world") ไปนะ user&pass จะได้ไม่รั่วไหล Log in or register to post comments
ถ้า Server มี cron
nuuneoi Sat, 24/01/2009 - 13:03
ถ้า Server มี cron ก็ตั้ง Cron ให้มันไปรัน php script ดาวน์โหลด rss feed โดยมี HTTP Basic Authorization อยู่บน header สมมติ username = hello และ password = world ก็จะต้องส่ง request ประมาณว่า
โดยที่ aGVsbG86d29ybGQ= คือผลลัพธ์ของฟังก์ชั่น base64_encode("hello:world");
http://www.nuuneoi.com
ทำไมไม่ส่
jane Sat, 24/01/2009 - 14:34
ทำไมไม่ส่ง sha1("hello:world") ไปนะ user&pass จะได้ไม่รั่วไหล