|
-
Nov 6th, 2003, 10:07 AM
#1
Thread Starter
Addicted Member
Connect to IRCd to get some stats...
Hi all,
did you miss me? 
I hope so.
Well, I need your help.
I have to get some stats from an IRCd on my localhost.
I need to know which channels are opened and who's logged on. This job should be done in PHP/4.2+. I found some classes to connect to IRCds but they all hang up and return nothing. Some need to run in console but that's not possible in my case. The script should run on demand (called through the webserver (or cronjob)).
I own root-access - maybe it's easier to grab some info from the IRCds files? I use Unreal 3.2 beta14 on SuSE Linux 8.1.
So if you know an easy way to connect to the local IRCd or to get the info another way, please let me know.
I don't want to bug my users which are logged in with channel join messages from my bot! So a bot which joins every channel explicitly is useless.
I hope someone can help me!
Tia
Code that I author is neither elegant nor efficient. It is, however, functional. Once I get something that works, I'm generally satisfied with myself - I mean, if it works, that's good enough, right?
Originally posted by aknisely
Sorry, but I feel uncomfortable on CC with clothes on
__________________
The truth ... is out there!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|