Custom Skype online/offline status


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. }

URL: http://davidsword.ca/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.