how do I handle X-RateLimit-Reset header??
If its in UTC, I'll take the current time from my system then convert
it to UTC.  Then wait the difference time. Is it?

Something like following,

$wait_time =  $header['X-RateLimit-Reset'] - gmmktime();
sleep($wait_time);



-- 
A K M Mokaddim
http://talk.cmyweb.net
http://twitter.com/shiplu
Stop Top Posting !!
বাংলিশ লেখার চাইতে বাংলা লেখা অনেক ভাল
Sent from Dhaka, Bangladesh

Reply via email to