Im guessing its quite simple, but ive been googling for a while and still not found what im looking for.
Basically my news system POSTS an xmlhttp request containing the news, this news often includes urls which have the symbol "&" in them.
The problem is, when ever an & appears in the send, the news gets cut off
The reason is quite obvious, since its simply considering it a new post header.
Im guessing i need to somehow encode it, but i haven't got a clue how. Can anyone get me a solution?Code:xmlhttp.send("title=" + ctitle + "&comment=" + ccom);
Thanks in advance








Reply With Quote