PHP

From Randomdata wiki
Revision as of 03:13, 31 January 2010 by imported>Zkyp
Jump to navigation Jump to search

How to write your own IRC bouncer in PHP

So, we're at the revspace party right now and User:deathzor just told he wants to give a workshop PHP. My psybnc bugged, once again, and he started boasting about how easy it is to write your own bouncer in PHP.

Hereby, our friend User:deathzor will share his elite knowledge of PHP programming!

When?

In a week or 3.

Who wants to join?

User:zkyp
User:junk
User:DipSwitch

What?

"Note2self" IRC Client side tutorial step 1, write a socket class for a active socket class step 2, write a irc idle bot, that logs commands received from the server step 3, Log the important functions like channels etc in a database ( the joined channels and remove them on a part command from the same db ).

Login scripting (+MySQL) Write a mysql login script that can check bouncer users for the auth ( using a simple md5 sum )

IRC Server side Write a Reply server, that will do a force join on all the irc channels you need to join.

Other. include disconnect away mode detections