<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 05:39:11 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Robert Basic's Blog: Creating a chat bot with PHP and Dbus]]></title>
      <guid>http://www.phpdeveloper.org/news/17364</guid>
      <link>http://www.phpdeveloper.org/news/17364</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has continued his series looking at using Dbus in PHP with <a href="http://robertbasic.com/blog/creating-a-chat-bot-with-php-and-dbus/">this latest post</a> to his blog - using the foundation he's <a href="http://robertbasic.com/blog/communicating-with-pidgin-from-php-via-d-bus/">created</a> <a href="http://robertbasic.com/blog/listening-to-dbus-signals-with-php/">before</a> to make a chat bot that will listen and respond to commands on a Jabber network.
</p>
<blockquote>
Now that we know how to <a href="http://robertbasic.com/blog/communicating-with-pidgin-from-php-via-d-bus/">use DBus to communicate with Pidgin from PHP</a> and how to <a href="http://robertbasic.com/blog/listening-to-dbus-signals-with-php/">listen to DBus signals</a>, it's time to put it all together by creating a simple chat bot! Nothing fancy, just a simple script that runs somewhere on some server and, by using a Pidgin account, can respond to some basic queries we send it.
</blockquote>
<p>
His new code listens for an incoming message on the "PurpleInterface", grabs the name of the sender and calls a "PurpleConvImSend" method with the conversation object and the message to send. You can find the complete source for the project <a href="https://github.com/robertbasic/blog-examples/blob/master/dbus/chat.php">on his github account</a>.
</p>]]></description>
      <pubDate>Mon, 09 Jan 2012 11:10:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Environmental Awareness Quickie]]></title>
      <guid>http://www.phpdeveloper.org/news/10691</guid>
      <link>http://www.phpdeveloper.org/news/10691</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> <a href="http://ishouldbecoding.com/2008/07/26/environmental-awareness-quickie">came across</a> someone having an issue running his PHP-based IRC bot (<a href="http://phergie.org/">Phergie</a>) an an environment where the <a href="http://www.php.net/exec">exec function</a> wasn't allowed:
</p>
<blockquote>
This causes a warning in the <a href="http://trac2.assembla.com/phergie/browser/trunk/Phergie/Plugin/Quit.php">Quit</a> plugin, which uses exec to automatically detection of the full path to the PHP CLI binary on non-Windows systems that it will later use that path to initiate a new PHP CLI process to "restart" the bot.
</blockquote>
<p>
It check this setting for the future, it was recommended that he look at the <a href="http://us3.php.net/manual/en/language.oop5.reflection.php#language.oop5.reflection.reflectionfunction">SPL ReflectionFunction class</a> (a part of the Standard PHP Library) that would let him check the disabled status of any PHP function (looking at the result of the isDisabled call).
</p>]]></description>
      <pubDate>Mon, 28 Jul 2008 07:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[C7Y: Reflections on Designing an IRC Bot in PHP, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/9996</guid>
      <link>http://www.phpdeveloper.org/news/9996</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> notes that the <a href="http://c7y.phparch.com/c/entry/1/art,irc_bots_in_php2">second part</a> of his "IRC Bots in PHP" series of articles has been posted to the C7Y community site (from <a href="http://www.phparch.com">php|architect</a>).
</p>
<blockquote>
The precursor to this article introduced some background and an overview of the design for the Phergie project as an example of the concepts involved in a PHP IRC bot implementation. This article will go further into the topic of plugins including descriptions of those that are commonly needed to make a bot fully functional as well as the commonly needed core features to support plugin development.
</blockquote>
<p>
In <a href="http://www.phpdeveloper.org/news/9934">part one</a> he set up some of the foundation code and explained some of the thought behind the structure of the bot. In <a href="http://c7y.phparch.com/c/entry/1/art,irc_bots_in_php2">this part</a> he gets more into the heart of the bot, showing how to define functions for common IRC actions (join/part/ping/etc) and how he made a plugin system to handle custom actions. He also mentions topics like memory usage, data storage methods and some of the "niceties" he included.
</p>]]></description>
      <pubDate>Fri, 18 Apr 2008 11:14:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[C7Y: Reflections on Designing an IRC Bot in PHP, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/9934</guid>
      <link>http://www.phpdeveloper.org/news/9934</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> set out a while back to develop a bot in PHP. The result of it is <a href="http://phergie.org/">Phergie</a> an "an IRC bot written in PHP 5 with an OO API" that can be extended with components for a wide variety of features. Another pleasant offshoot from his project is <a href="http://c7y.phparch.com/c/entry/1/art,irc_bots_in_php">this first part</a> of two articles on the C7Y community site detailing its creation.
</p>
<blockquote>
The PHP Community channel on the Freenode IRC network, #phpc, had a longstanding bot called "Ai". Like many bots at the time of her creation, she was based on PHP 4. [...] With the coming end-of-life of PHP 4 and at the encouragement of channel users, I decided to start a project to develop a new bot based on PHP 5 that would fully utilize its new object model and offer users a chance to contribute to the bot they used in their channel.
</blockquote>
<p>
<i>Matthew</i> <a href="http://c7y.phparch.com/c/entry/1/art,irc_bots_in_php">talks about</a> the initial stages of development (planning, research) and some of the development process of the bootstrap file, configuration file, and driver as well as the event handling.
</p>]]></description>
      <pubDate>Tue, 08 Apr 2008 15:25:01 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Meet Phergie]]></title>
      <guid>http://www.phpdeveloper.org/news/9697</guid>
      <link>http://www.phpdeveloper.org/news/9697</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> has been working on a project based on an idea he and <i>Ben Ramsey</i> thought up - a wrapper around the <a href="http://libircclient.sourceforge.net/">libircclient</a> libraries to make IRC interface simple. As a result, <i>Matthew</i> turned it into a more practical application - you can call her <a href="http://ishouldbecoding.com/2008/02/20/meet-phergie/">Phergie</a>.
</p>
<blockquote>
I had toyed with some previous iterations of Phergie, some Python-based and later some PHP-based, before I finally got an API design I was happy with.
</blockquote>
<p>
The source for the bot can be downloaded from its <a href="http://svn2.assembla.com/svn/phergie/">subversion repository</a> and you can find out more about it on its <a href="http://trac2.assembla.com/phergie">Trac site</a>. Also, if you feel like chatting about it, you can head over to the #phergie channel on the <a href="http://www.freenode.org">Freenode IRC network</a>.
</p>]]></description>
      <pubDate>Mon, 25 Feb 2008 10:13:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-GTK Community Site: Gataka: the PHP-GTK IRC bot]]></title>
      <guid>http://www.phpdeveloper.org/news/9504</guid>
      <link>http://www.phpdeveloper.org/news/9504</link>
      <description><![CDATA[<p>
The admins over on the <a href="http://www.php-gtk.eu">PHP-GTK Community site</a> have announced a new resource PHP-GTK ircers can take advantage of - a new bot that hangs out in the #php-gtk channel over on the <a href="irc://irc.freenode.net/php-gtk">Freenode</a> IRC network with an aim to be as helpful as possible.
</p>
<blockquote>
The PHP-GTK.eu community site is now host to an IRC bot named Gataka (for "GTK"), helping users on the Freenode IRC channel for PHP-GTK, at <a href="irc://irc.freenode.net/php-gtk">irc://irc.freenode.net/php-gtk</a>.
</blockquote>
<p>
Currently is has an API interface (for PHP-GTK elements), user tracking and the ability to learn factoids. They're even starting to <a href="http://php-gtk.eu/irc-log-publication-poll">look for input</a> regarding new features (log publication, in this case).
</p>]]></description>
      <pubDate>Mon, 28 Jan 2008 10:36:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: CAPTCHA harder to break using animations]]></title>
      <guid>http://www.phpdeveloper.org/news/6843</guid>
      <link>http://www.phpdeveloper.org/news/6843</link>
      <description><![CDATA[<p>
PHPClasses.org is spotlighting another package from their site today - this time it's a <a href="http://www.phpclasses.org/animated_captcha">CAPTCHA class</a> that takes things a step further and introduces animation into the mix to make it even harder for bots to get through.
</p>
<blockquote>
<p>Laszlo Zsidi is a PHP Web developer that has written an harder to break CAPTCHA solution. It consists in generating animated GIF images that exhibit the validation text.
</p>
<p>
Since the text never appears all at once in each of the animated frames, this solution certainly raises the bar in terms of difficulty for the robots to guess the validation text, making it very hard to defeat, if possible at all.
</p>
</blockquote>
<p>
You can check out the <a href="http://www.phpclasses.org/browse/package/3423.html">class here</a>, including a sample animated <a href="http://www.phpclasses.org/browse/file/16277.html">gif file</a> and a download of everything you'll need to get started.
</p>]]></description>
      <pubDate>Thu, 07 Dec 2006 08:28:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: The Obfuscator]]></title>
      <guid>http://www.phpdeveloper.org/news/6710</guid>
      <link>http://www.phpdeveloper.org/news/6710</link>
      <description><![CDATA[<p>
There's an odd little application that's been brought up that's written in PHP with one purpose - obfuscating an email address/HTML so it's very difficult for a spambot (or other harvesting program) to get a hold of the content and add to its list. <a href="http://bla.st/theobfuscator.php">The Obfuscator</a> takes in an email address and, with the click a button, spits back out the obfusicated code.
</p>
<p>
They're also offering <a href="http://bla.st/obfuscate_source.php">the source</a> for the application so you can get behind the scenes and see how it works. It definitely does a good job at making things more difficult, but I'm not sure how useful it really is in practice. If you're just using it to drop into a one-time kind of location, it would work, but the results this thing spits out would be a nightmare to maintain (especially the HTML). 
</p>
<p>
One good thing, though, is that too the user, it all looks seamless. There's no funny characters or things they'd have to change in their browser to get it to work.
</p>]]></description>
      <pubDate>Wed, 15 Nov 2006 08:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Issociate.de Newsreader: phpBB mass-hack being prepared?]]></title>
      <guid>http://www.phpdeveloper.org/news/5020</guid>
      <link>http://www.phpdeveloper.org/news/5020</link>
      <description><![CDATA[In <a href="http://www.issociate.de/board/post/312809/phpBB_mass-hack_being_prepared_">this posting</a> included on the Issociate.de site's Newsreader, there's talk of a "massive phpBB hack" that might be taking place.
<p>
<quote>
<i>
During the last few days a bot using a name FuntKlakow, has been registering to at least hundreds (maybe thousands) of phpBB forums.
<p>
Ok, what is a danger? Next time the phpBB announces a critical vulnerability, the bot would have everything ready (just a post click away) from attacking thousands of sites/forums. 
</i>
</quote>
<p>
It's <a href="http://www.issociate.de/board/post/312809/phpBB_mass-hack_being_prepared_">an interesting situation</a> and, as suggested in some of the comments on <a href="http://digg.com/security/phpBB_mass_hack_being_prepared_">this digg post</a>, will be interesting to see what happens. It is a little odd for that many items to come up on a search for the name that are only profiles for phpBB boards, especially given phpBB's track record...]]></description>
      <pubDate>Mon, 20 Mar 2006 07:51:03 -0600</pubDate>
    </item>
  </channel>
</rss>
