title: Does Yahoo prevents checking online/offline status?
body: <p>I want to add yahoo chat icon inside my website. To detect ID status (online/offline), and opening messenger tool, I've wrote the PHP codes below (given from a website). But it always returns ID is offline. Does Yahoo prevents checking status? What's the problem?  </p>
  
  <pre><code>&lt;?php
  $yahoo_id = 'some_id';
  $getstatus = file_get_contents('http://mail.opi.yahoo.com/online?u='.$yahoo_id.'&amp;m=a&amp;t=1');
  switch($getstatus) {
      case "00": $status = '&lt;img src="images/yahoo_offline.png" /&gt;';
      break;
      case "01": $status = '&lt;a href="ymsgr:sendIM?'.$yahoo_id.'"&gt;&lt;img src="images/yahoo_online.png" /&gt;&lt;/a&gt;';
      break;
  }
  echo $status;
  ?&gt;
  </code></pre>