Saving user password

8 views
Skip to first unread message

eckstian

unread,
Feb 2, 2010, 8:41:12 PM2/2/10
to ChaNTLIVE
hello. just want to ask how you save your the newly registered user's
password? can't find it in your codes. just new to php. thanks and
more power.

great chat system by the way.

xtian

Alex Frost

unread,
Feb 2, 2010, 8:51:17 PM2/2/10
to ChaNTLIVE
Hi,

As chat doesnt use any database to operate, all private data stored
in plain text files,
that can be opened by notepad. For password look in users.inc.php file
that located in 'data' folder.
Also note that password saved not as it is but it hash string.

Alex

eckstian

unread,
Feb 3, 2010, 1:35:02 AM2/3/10
to ChaNTLIVE
I mean do you have a function for hashing the password? What is it?
Where is it? Thanks.

Alex Frost

unread,
Feb 3, 2010, 8:43:33 AM2/3/10
to ChaNTLIVE

eckstian

unread,
Feb 4, 2010, 6:44:52 AM2/4/10
to ChaNTLIVE
thanks for the reply..

On Feb 3, 9:43 pm, Alex Frost <kont...@gmail.com> wrote:
> Check this outhttp://ru.php.net/manual/en/function.md5.php

> > > > xtian- Hide quoted text -
>
> - Show quoted text -

eckstian

unread,
Feb 4, 2010, 7:28:59 PM2/4/10
to ChaNTLIVE
hello... just want to ask if you have an option in your chat wherein
you allow only specific users to certain channel? thanks.

On Feb 3, 9:43 pm, Alex Frost <kont...@gmail.com> wrote:

> Check this outhttp://ru.php.net/manual/en/function.md5.php

Alex Frost

unread,
Feb 4, 2010, 7:37:50 PM2/4/10
to ChaNTLIVE
yes, you can do that. create new private channel and it be accessible
only by peoples that have
op's status.

Alex

eckstian

unread,
Feb 4, 2010, 9:23:11 PM2/4/10
to ChaNTLIVE
oh.. hmmm... so if I'll make two (2) channels, users with op status
are able to enter the two (2) channels? how about restricting only
users to a channel?

Alex Frost

unread,
Feb 5, 2010, 2:42:27 PM2/5/10
to ChaNTLIVE
Answer to first question - yes, op's can access every available
channel.
Regarding second question, attaching users to an channel doesnt
supported.

Alex

Reply all
Reply to author
Forward
0 new messages