|
|
|
|
![]() ![]() |
Dec 3 2007, 01:49 AM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 281 Joined: 5-October 07 From: Random Places Member No.: 51,171 ![]() |
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.
|
|
|
|
Dec 3 2007, 03:10 AM
Post
#2
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 3,882 Joined: 24-July 05 From: In Trouble Again... still? Member No.: 9,787 ![]() |
Internet Relay Chat Servers are not allowed at the Trap17 Hosting Accounts, as per the Terms of Service (TOS) and Acceptable Use Policy (AUP) found by reading the Trap17 readme file.
QUOTE 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. Trap17 Readme file here. |
|
|
|
Dec 3 2007, 05:56 AM
Post
#3
|
|
|
Desperately seeking "any key" to continue... ![]() Group: Admin Posts: 3,438 Joined: 23-April 05 From: Trap17 storage box Member No.: 6,042 |
If we're just discussing about PHP programming for IRC, the perfect example is our Trap17 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. |
|
|
|
Dec 3 2007, 10:16 PM
Post
#4
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 281 Joined: 5-October 07 From: Random Places Member No.: 51,171 ![]() |
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.
|
|
|
|
Dec 4 2007, 09:58 AM
Post
#5
|
|
|
Desperately seeking "any key" to continue... ![]() Group: Admin Posts: 3,438 Joined: 23-April 05 From: Trap17 storage box Member No.: 6,042 |
Trying to develop an IRC prototype and running IRC service are two different things. You may use Trap17 hosting as developing ground for your scripts, in hopes that you don't abuse Trap17 servers
You can use Trap17 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 AstaHost administrator's page. You can post your question or request for help/guidance. Good luck and let us know how it goes. |
|
|
|
Dec 6 2007, 05:31 AM
Post
#6
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 76 Joined: 30-October 05 Member No.: 13,571 |
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 trap17. |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 26th July 2008 - 04:18 PM |