[HTML_AJAX-devel] Problem with character escaping
Miguel Manso
miguel.manso at nfsi.pt
Wed Jul 12 10:06:48 PDT 2006
Hi.
I need to save the following string: /^(+351)\d{9}$/
I am passing it through a html form using POST and HTML_AJAX.formSubmit.
When i grab the value on the PHP side through $_POST var i get: /^(
351)\\d{9}$/
The double backslash i can understand and its easy to get rid of, but
what i can't find a workaround is the + that just vanished...
I tried the same values on normal form with PHP's $_POST and got:
/^(+351)\\d{9}$/
Still have the double backslash, but the + sign is still there.
Am i doing something wrong or is this suppose to be like this?
Thanks
Miguel Manso
More information about the Html_ajax-devel
mailing list