Page 1 of 1
registered users
Posted: Mon Aug 01, 2005 5:48 pm
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
Posted: Mon Aug 01, 2005 6:07 pm
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!
Posted: Thu Aug 04, 2005 2:21 am
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
Posted: Thu Aug 04, 2005 12:13 pm
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.
Posted: Fri Aug 05, 2005 4:56 am
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*.