Posted By

davidsword on 11/30/08


Tagged

text status buttons custom Skype


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

ginoplusio
vali29


Custom Skype online/offline status


 / Published in: PHP
 

URL: http://davidsword.ca/

Checks the size of skypes online "status buttons" to determine online/offline status, so you're able to use custom buttons, text.. etc, etc

  1. $button = "http://mystatus.skype.com/smallicon/username.png";
  2. $status = "status.png";
  3. copy($button, $status);
  4. //online = 428 offline = 376
  5. if (filesize($status) > 400) {
  6. //online
  7. } else {
  8. //offline
  9. }

Report this snippet  

You need to login to post a comment.