Free web development scripts for the webmasterDevelopment Scripts

 Site Navigation
 o Development Scripts
 o Text Only Edition
 o PHP.net News
 o Tutorials
 o Register an account
 o New entries this week
 o Affiliates/Links
 o Contact Us
 o About us
 o Advanced Search

 Browse Path
 o 3 users online
 o Most users online: 67
 o Home
  o PHP
   o Miscellaneous
    o Script

 Member Login
User Name
Password

 Standards
Valid XHTML 1.0!
Valid 
CSS!

 Recommended Links
 o PHP Freaks
 o Designer Baby Clothes
 o Advertise Here Make Money
 o Wedding Vendor Directory
 o Free Wedding Websites
 o designplace
 o OxyScripts
 o devnet
 o Open Source Design

Shoutcast or AIM etc Online Status (Rated 0)

Description:

This shows if your shoutcast radio station or instant messenger is online.

Useful for adding into your signature on forums to show people information

Code starts here


<?php
$check
= @fsockopen ("127.0.0.1", 80,$errno, $errstr,1); // change 127.0.0.1 to your shoucast ip and 80 to the port
if($check) {
header('content-type: image/gif');
readfile('aimon.gif'); // change this to an image you want when shoutcast is on
} else {
header('content-type: image/gif');
readfile('aimoff.gif'); // change this to an image you want when shoutcast is off

}
?>


Submitted by Devscripts on 28-04-2003 21:28


Rate This Script

User Contributed Comments

Registered Members login
© Copyright 2003 - Devscripts.net