Php Chat Room using Sessions?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Jason20
Forum Newbie
Posts: 2
Joined: Tue Oct 14, 2003 7:52 am

Php Chat Room using Sessions?

Post by Jason20 »

I have a chat room that was written in php using
sessions and it has not worked right since the upgrade
of php on the server. Does anybody know php really
well? The problem I have been having is whenever
somebody tries to log into the chat room, you have to
do it twice. After the second time of putting in your
user name, it will log you into the chat room. After
that, you try to type a message in the box and hit,
"add comment" it will log you back out of the chat
room. I have not used this chat room in a while, but
when I did it worked ok. I was just curious if any of
you know if this php upgrade might have caused it?

I will send somebody the code through email if anybody is willing to help.

Just email me at gobears20@yahoo.com

Thanks!
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Which version of PHP was the old version and what has it gone to? It is probably an issue with register_globals:
Concerning Passing Variables in PHP 4.2+

Mac
Jason20
Forum Newbie
Posts: 2
Joined: Tue Oct 14, 2003 7:52 am

Post by Jason20 »

They upgraded to PHP 4.3.2.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

From?

Mac
Post Reply