Jump to content
xisto Community
coolcat50

Php And Irc PHP-based IRC web client

Recommended Posts

I am wondering whether or not you could create a basic client for IRC using PHP. I know that PHP does have IRC functions which I read about on php.net. I am not quite sure whether or not a client could be built around this. I do know that there is a CGI IRC client on the web. I use this while I am on my Wii I am wanting to incorporate a PHP IRC client into my website and use AJAX to automatically reload the chat. Well, if anybody could help that would be great.

Share this post


Link to post
Share on other sites

Internet Relay Chat Servers are not allowed at the Xisto Hosting Accounts, as per the Terms of Service (TOS) and Acceptable Use Policy (AUP) found by reading the Xisto readme file.

Internet Relay Chat (IRC) traffic is not permitted on our servers in any of its many forms including, but not limited to: bots and IRC servers.

Since this is a Shared Server, an IRC places too much demand on the Server and degrades the service for others.Finding an IRC Server in your account will result in a Cancellation of your Hosting Account. No exceptions.

Xisto Readme file here.

Share this post


Link to post
Share on other sites

If we're just discussing about PHP programming for IRC, the perfect example is our Xisto forum shoutbox. It is written in PHP and using AJAX to auto refresh at every 15 seconds or so. AJAX can be altered to automatically refresh when there's a new data submitted. So IRC written in PHP is possible but not PHP alone. The standard function of "IRC" is not present, i.e. call function of irc(network.address:port), but you can configure the whole page to refresh when a new submit is detected. But as IRC user interface, the whole page refresh is very annoying. Therefore some type of AJAX is the better way to go.

Share this post


Link to post
Share on other sites

I wasn't going to have a server on my account. My IRC channel is hosted on dejatoons.net. So an IRC client is against TOS. Well, i still want to devleop one to see how to make one just in case I run a localhost and I can use this client. I do know that in PHP there are the ircg functions that can connect to IRC servers. I just don't see how I could output the messages once it starts. If this is against TOS then close the topic.

Share this post


Link to post
Share on other sites

Trying to develop an IRC prototype and running IRC service are two different things. You may use Xisto hosting as developing ground for your scripts, in hopes that you don't abuse Xisto servers :)

You can use Xisto hosting to develop even IRC client but what you should refrain is advertising/making widely available you're developing, which leads to visitors using your developing page to chat.

Visit http://www.handyphp.com/ one of Xisto administrator's page. You can post your question or request for help/guidance.

Good luck and let us know how it goes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.