Page 1 of 1

Looking for a function

Posted: Thu Mar 13, 2008 4:09 pm
by gal404
Well that's my first post :D
I hope to get answered...

I am looking for a function that will send SMS messages through the ICQ servers.
As for now.. I've got 2 classes wich is sending me only plain text messages.
1. php2icq - http://sourceforge.net/projects/php2icq/
2. WebIcqLite - http://intrigue.ru/projects/icq/WebIcqLite.class.phps
And for use them:

1. php2icq (Might not work for all) :

Code: Select all

 
<?php
include 'php2icq.php';
$icq = new php2icq('icq-number-to-login', 'password-of-the-icq-number', STATUS_ONLINE);
if (!$icq->login())
{
    echo $icq->get_error();
}else{
    $icq->send_message('icq-number-who-will-recive-the-message', 'message-to-send');
}
?>
 
2. WebLiteIcq :

Code: Select all

 
<?php
    include('WebIcqLite.class.php');
 
    define('UIN', 111111111);
    define('PASSWORD', 'password');
 
    $icq = new WebIcqLite();
    if($icq->connect(UIN, PASSWORD)){
        if(!$icq->send_message('123456789', 'Hello from php!!!')){
            echo $icq->error;
        }else{
            echo 'Message sent';
        }
        $icq->disconnect();
    }else{
        echo $icq->error;
    }
?>
 
If someone have it or wants to help me and create it for me ill thank him all my life :D

Ways to contact me:
MSN: gal_the_best2@walla.com (Most active)
ICQ: 229320 (Semi-Active)
EMAIL: 707bond@gmail.com (Active)


Thanks again :D