Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

65 users online



remote irc

remote irc

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
digitalerr0r

digitalerr0r

Neverside Newbie
Status: Offline!

remote irc

i have my java irc client connected to my room, is there anyway of havin a php script that joins the room counts users and their usernames saves to a text file and the exits, but can that be ran on the server as php? it would be a php file that is included on the main page..

thanks for any help

digital

Motorspin

Motorspin

Neverside Newbie
Status: Offline!

I'm pretty sure you'd have to make an extension or something. Though I don't know how, I recommend you just get an irc bot that does this.

___________________

Travis Farrell
http://motorspin.com/stuff/images/avasig/m_enterprisesig.gif

digitalerr0r

digitalerr0r

Neverside Newbie
Status: Offline!

will a bot run in php remotely on a server?

thanks

Motorspin

Motorspin

Neverside Newbie
Status: Offline!

No, get a bot to run on irc, then save whatever you want to the server. Use PHP to do whatever you want to the text file. That's how TF does it.

___________________

Travis Farrell
http://motorspin.com/stuff/images/avasig/m_enterprisesig.gif

Phil

Phil

with Mr. Jones
Status: Offline!

PHP IRC Bots can be done using sockets, but I'm not at liberty to share any code - both vexx and evilbot (evil genius wrote this, he can answer questions on this subject better then me) code isnt being released. Still, look up sockets + irc protocol and go for it.

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

UNKNOWN16

UNKNOWN16

Status: Offline!

there are alot of tut's around that hive you a basic idea on how to do it. I made one a while ago never finished it tho, connected to a channel got the text and added it to a db.

if your host has irc functions enabled it shouldn't be to hard to do.

Would show u my code but i don't think it would be of any help since i wrote it when i started php, very crappy Smile

Phil

Phil

with Mr. Jones
Status: Offline!

irc functions? As far as I know, there are no "IRC" functions... you gotta use sockets.

whatdyaknow, I'm wrong. However, the extension gateway isnt real universal - its far from a commonly installed extension and it doesnt work on all servers. You're better off using sockets, it'll work on more servers and they're funner.

http://us4.php.net/manual/en/ref.ircg.php

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

Last edited by Phil, October 13th, 2003 01:38 PM (Edited 1 times)

digitalerr0r

digitalerr0r

Neverside Newbie
Status: Offline!

how could i use sockets

Jeremie

Jeremie

Neversidian
Status: Offline!

Ares, Vexx is in TCL, not PHP. and EvilBot was renamed NuBot (since it will be released on nuphp.com) and now support modules (wee).

Dont ask me for the source of it, i wont give it.
Just search google for "irc protocol", and use sockets (either real sockets or fsock) to "talk" with the server.

___________________

Jeremie - Used to be the Director of Community Development

Phil

Phil

with Mr. Jones
Status: Offline!

I said the code wasnt being released Grin

sockets = php.net.

modules are fun... im running through ideas for my irc bot. I also need to figure out if i can host an irc network/chan so i can test on my own server - I dont have internet access on my php machine.

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0079 seconds.