• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

change nickname

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby blitz » Sun Nov 25, 2007 2:13 pm

hi all
i have the phpfreechat into an iframe i send to it the username with $_GET but if i change the username (with the login) the chat don't show the changes

example:

$username=$_GET['name'];

if ($username =='') {
$username="guest";
}

$params = array(
...
...
"nick" => iconv("ISO-8859-1","UTF-8",$username),
...
...);

then at the first connection my nickname is guest if now i log in for example as admin ($_GET['name']=admin) the chat don't change my nickname.

i think that could be with the session destroy function or something like that.

someone can help me?
thanks in advance
blitz
New member
 
Posts: 4
Joined: Sat Nov 24, 2007 11:47 am
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 4 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub