Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Knowledgebase

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2009, 01:05 PM
Junior Member
 
Join Date: May 2009
Posts: 18
Default API command not supporting character '&'

Q:This error log is generated when trying to add a room name with a
special character like '&' is applied to the room name. We can use
characters like '#' and '_' or '!' but NOT '&'.

Room Name = '*Admissions and Financial Aid*' to be changed to Room Name
= '*Admissions & Financial Aid*' not allowed able to save using the
api_command.

API_COMMAND used:

<?xml version="1.0" encoding="UTF-8"?><Command group="devchat"
api_pwd="3874-3459-9293-2194" type="edit_room" name="*Admissions &
Financial Aid*" roomid="1286" owner="admin" desc="Lets talk about
admission" max="4" speaker="" member="false" pwd=""
passallmessage="true" en="1" />


A:Your problem was caused by XML special significance word "&",
please replace "&" to "&amp;" , or use scripte function to translate it.
for example:
htmlspecialchars() php


Key Words: API-COMMAND, special significance , XML
Closed Thread

Was this information helpful?    Yes No



Tags
api-command, flach chat, flash chat client, flash chat room, flash chat script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.