PHP & IRC...HELP!

Equinox

New member
Hey guys,
I dunno where eelse to ask this, but I'm looking into making an web-based IRC client and wondered how one compiles the functions into PHP.
The info in the PHP manual is hardly helpful and that website that they give provides some very strange program, that doesn't really work.

Has anyone got any ideas/advice to help me? I'm not looking for JS Programs that can already do it. I'm looking for help in my coding technique and how to upgrade my PHP version (5.1) so it supports the built-in commands...

Thanks in advance...
~Equinox
 
And, to answer my own question :

Instead of using the IRC commands built into PHP (which dont really work anyway), I did this :

PHP:
$link = fsockopen('server','port', []) ;
fwrite($link, 'stuff') ;   // Using the RAW codes supplied by mIRC.

At least thats the sort of idea. One big problem to get around is the whole ping-pong event which IRCd creates. Its even worse if you've ever tried to chat using TelNet, but its survivable!

~Equinox
 
Back
Top