 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
C7Y: Reflections on Designing an IRC Bot in PHP, Part 2
by Chris Cornutt April 18, 2008 @ 11:14:56
Matthew Turland notes that the second part of his "IRC Bots in PHP" series of articles has been posted to the C7Y community site (from php|architect).
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.
In part one he set up some of the foundation code and explained some of the thought behind the structure of the bot. In this part 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.
voice your opinion now!
irc bot tutorial example plugin action memory phergie
C7Y: Reflections on Designing an IRC Bot in PHP, Part 1
by Chris Cornutt April 08, 2008 @ 15:25:01
Matthew Turland set out a while back to develop a bot in PHP. The result of it is Phergie 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 this first part of two articles on the C7Y community site detailing its creation.
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.
Matthew talks about 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.
voice your opinion now!
design irc bot tutorial c7y pecl extension libircclient
PHPClasses.org: CAPTCHA harder to break using animations
by Chris Cornutt December 07, 2006 @ 08:28:00
PHPClasses.org is spotlighting another package from their site today - this time it's a CAPTCHA class that takes things a step further and introduces animation into the mix to make it even harder for bots to get through.
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.
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.
You can check out the class here, including a sample animated gif file and a download of everything you'll need to get started.
voice your opinion now!
captcha animation gif validation spam bot captcha animation gif validation spam bot
Community News: The Obfuscator
by Chris Cornutt November 15, 2006 @ 08:58:00
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. The Obfuscator takes in an email address and, with the click a button, spits back out the obfusicated code.
They're also offering the source 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).
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.
voice your opinion now!
obfuscator email address html content spam bot simple obfuscator email address html content spam bot simple
|
Community Events
Don't see your event here? Let us know!
|