It disappear in $_POST.
I try to use Javascript escape and parse it with html_entity_decode and still "+" disappear.
How do I pass it?
How do I pass + via POST?
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
The plus sign is '%2B', I found this code by googling your question for you:
Code: Select all
function URLencode(sStr) {
return escape(sStr)
.replace(/\+/g, '%2B')
.replace(/\"/g,'%22')
.replace(/\'/g, '%27');
}(#10850)