registered users

These are old archives. They are kept for historic purposes only.
Post Reply
hibbert
Posts: 35
Joined: Sat Apr 16, 2005 10:30 am

registered users

Post by hibbert »

Hi,
2 simple questions:

1) How can i register a user for my IRC Server without using IRC, e.g. using PHP

2) Where are the registered users saved on my Server ? Is there any file or something like that ?

thx hibbert
I hope you understand my bad english :wink:
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

About the registering nicks with PHP, please use the foums search feature: http://forums.unrealircd.com/viewtopic. ... b+services

Services usually store their databases as files somewhere in the services directory. You should try looking for files named like "nick.db" and "chan.db". I don't know why you would want to know where they are (other than backups), but playing with the services databases WILL break them!
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

If I get time, I'll dig up some stuff I was playing around with PHP to read/send memos. Should work with all services, maybe a little tweaking required.

I'll warn you now though that PHP didn't seem to like playing nice with these. They had a nasty habit of locking apache up. [though, who knows. it might've been fixed by now]

Someone remind me to do this :p
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post by Matridom »

w00t wrote:If I get time, I'll dig up some stuff I was playing around with PHP to read/send memos. Should work with all services, maybe a little tweaking required.

I'll warn you now though that PHP didn't seem to like playing nice with these. They had a nasty habit of locking apache up. [though, who knows. it might've been fixed by now]

Someone remind me to do this :p
I have a few php scripts that manipulate that use sockets to connect, i've never had a lockup however.
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

These were doing more than a little manipulation *g*. Then again, maybe it was my version of PHP, one of the early SAPI modules. *shrug*.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Post Reply