coolcat50 0 Report post Posted December 3, 2007 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
jlhaslip 4 Report post Posted December 3, 2007 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
BuffaloHelp 24 Report post Posted December 3, 2007 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
coolcat50 0 Report post Posted December 3, 2007 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
BuffaloHelp 24 Report post Posted December 4, 2007 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
gogoily 0 Report post Posted December 6, 2007 Maybe we can write such a script with PHP, it has to be a script that using socket functions in PHP.But as jlhaslip said, we can't place such pages in Xisto. Share this post Link to post Share on other sites