Re: Update- ICQ status script

From: Date: Thu, 13 Jul 2000 20:59:27 +0000
Subject: Re: Update- ICQ status script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6543@lists.php.net to get a copy of this message
here's another real simple one i use (from evilwalrus.com).. <? $uin = "XXXXXXXX"; function ICQ_Status($uin) { $arr = @file("http://wwp.icq.com/scripts/online.dll?icq=$uin&img=1"); $len = strlen($arr[1]); if ($len == "") return "ICQ: <span style="color:#707070">Local Server</span>"; if ($len == 96) return "ICQ: <span style="color:#009000">Online</span>"; if ($len == 83) return "ICQ: <span style="color:#b00000">Offline</span>"; if ($len == 1) return "ICQ: <span style="color:#000080">Disabled</span>"; } echo ICQ_Status($uin); ?> SteveD ----- Original Message ----- From: "Bill Zeller" <billzeller@yahoo.com> To: <php-general@lists.php.net> Sent: Thursday, July 13, 2000 9:50 PM Subject: [PHP] Update- ICQ status script > Hi, > > Just posted version 1.0.1 > Updates: > -faster, more efficient code > -less variables used > > Again, it can be found at: > http://www.zend.com/codex.php?id=216&single=1 > > Sorry for the confusion. > > Best Regards, > Bill Zeller > > >Hi, > > > >I've just added a script to the Zend gallery. It > >checks the status of an ICQ number.... more info > >available there. > > > >http://www.zend.com/codex.php?id=216&single=1 > > > >I'd love to know where/if you use it and if you like > >it or have any suggestions. > > > >Thanks > > > >Best Regards, > >Bill Zeller > > __________________________________________________ > Do You Yahoo!? > Get Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.com/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#6543) next »