Today, i will show you how to create a simple irc client that will Recive from an IRC server. If intresent is shown in this tutorial i will make a second one on how to send text as well.
Lets Begin.
First we will need to create a file that contains the data for the IRC server (I.E. Serverhost, channel, port)
Config.php
CODE
<?php
//The server host is the IP or DNS of the IRC server.
$server_host = "irc.smirl.com";
//Server Port, this is the port that the irc server is running on. Deafult: 6667
$server_port = 6667;
//Server Chanel, After connecting to the IRC server this is the channel it will join.
$server_chan = "#smirl";
?>
//The server host is the IP or DNS of the IRC server.
$server_host = "irc.smirl.com";
//Server Port, this is the port that the irc server is running on. Deafult: 6667
$server_port = 6667;
//Server Chanel, After connecting to the IRC server this is the channel it will join.
$server_chan = "#smirl";
?>
What the....
This is all its letting me post, i get a 404 Error if i add the rest.
*sigh* i put the tut in a .txt file here ya go