Location: PHPKode > scripts > CK2ICQ > ck2icq/exK2ICQ.php
<?php
require_once 'CK2ICQ.php';

$icq = new CK2ICQ();
echo "checking status of 239788313 (hide@address.com)<br>";
echo "status constant = ". $icq->GetStatus(239788313)."<br>";
echo "explanation of the status = ". $icq->GetText(239788313)."<br>";
echo "image of the status = <img src='". $icq->GetIMG(239788313)."'><p>";

if (!$icq->Prepare("239788313, 177201163")) 
    echo $icq->mError_str;
echo "the status of the user 177201163 " . $icq->GetText(177201163, array("is offline", "is online", "is unknown", "was not obtained from the server duo an error (". $icq->mError_str))."<br>";
?>
Return current item: CK2ICQ