<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LAMPdocs: Linux, Apache, MySQL, PHP &#187; Instant Messaging</title>
	<atom:link href="http://www.lampdocs.com/blog/category/instant-messaging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lampdocs.com/blog</link>
	<description>Linux, Apache, MySQL, PHP: Docs, Tricks and Secrets</description>
	<lastBuildDate>Wed, 04 Jan 2012 13:11:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Send an ICQ Message With PHP Script</title>
		<link>http://www.lampdocs.com/blog/2010/02/how-to-send-an-icq-message-with-php-script/</link>
		<comments>http://www.lampdocs.com/blog/2010/02/how-to-send-an-icq-message-with-php-script/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 12:00:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Instant Messaging]]></category>
		<category><![CDATA[PHP Solutions]]></category>
		<category><![CDATA[icq bot php]]></category>
		<category><![CDATA[php iconv]]></category>
		<category><![CDATA[php icq robot]]></category>
		<category><![CDATA[php icq send]]></category>
		<category><![CDATA[php icq sender]]></category>
		<category><![CDATA[php send to icq]]></category>
		<category><![CDATA[send icq message php]]></category>

		<guid isPermaLink="false">http://www.lampdocs.com/blog/?p=842</guid>
		<description><![CDATA[Don't know how to send a message from a PHP script to ICQ? Here is how!]]></description>
			<content:encoded><![CDATA[<p>Today I will show you how to send ICQ messages using PHP. We will need a class, named <a href="http://wip.asminog.com/projects/icq/WebIcqLite.class.phps">Webicqlite</a>. You can download it and rename to WebIcqLite.class.php.</p>
<p>Sending ICQ messages never been so easy with this class. In order to test it, we will need login and password for ICQ, if you don&#8217;t have it, you can obtain it at <a href="http://www.icq.com">ICQ</a>.</p>
<p>Here comes the code listing:</p>
<blockquote><p>&lt;?php<br />
// Let&#8217;s connect our main class<br />
include(&#8216;WebIcqLite.class.php&#8217;);<br />
// replace 111111111 with your ICQ UIN<br />
define(&#8216;UIN&#8217;, 111111111);<br />
// Put your ICQ password<br />
define(&#8216;PASSWORD&#8217;, &#8216;password&#8217;);<br />
// Creating an object<br />
$icq = new WebIcqLite();<br />
// Trying to connect to ICQ server<br />
if($icq-&gt;connect(UIN, PASSWORD)){<br />
// Trying to send a message to 123456789 (replace with your desired destination number)<br />
if(!$icq-&gt;send_message(&#8217;123456789&#8242;, &#8216;Hello from php!!!&#8217;)){</p>
<p>echo $icq-&gt;error;</p>
<p>}else{</p>
<p>echo &#8216;Message sent&#8217;;</p>
<p>}</p>
<p>$icq-&gt;disconnect();</p>
<p>}else{</p>
<p>echo $icq-&gt;error;</p>
<p>}</p>
<p>?&gt;</p></blockquote>
<p>Everything seems to be simple. I am using it to notify myself about server events, like server overload, scheduled backup, etc. It is just a single feature of this class, I will post more solutions a bit later. If you need any specific solution, please, let me know.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lampdocs.com/blog/2010/02/how-to-send-an-icq-message-with-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

