Login to icq account to receive messages from contact #12345678

438 Views Asked by At

Is there a way to have a php-script running, that does the following things: - log into icq-account - receive all (if any) messages from an existing contact #12345678 and - write those messages into an array like e.g. $messages = array();

edit I'd like to have answer like: "bla" is good, active community, frequently updated, as icq changes a lot their internals,...

2

There are 2 best solutions below

5
On

Let's see: http://www.google.com/search?q=icq+php

First result of that: http://www.phpclasses.org/package/3663-PHP-Communicate-with-ICQ-users.html

This class can be used to communicate with other ICQ users.

It can:

  • Establish connections to an ICQ server using non-blocking sockets
  • Authenticate as a given user
  • Receive offline messages
  • Send and receive messages
  • (...)

I'd say that's the code you are looking for.

0
On

There are many classes for that (google: php icq), but they are quite unstable because of restricted protocol. You also can use classes for Jabber (they work more properly) and receive messages from icq through the transport.