Welcome Guest, Not a member yet? Register   Sign In
Encoding URL's in JS
#1

[eluser]Unknown[/eluser]
I have form data I need to send to a PHP script via an XmlHttpRequest. I don't trust JS validation for a second, so I use encode() to urlencode field values, and let PHP deal with it later.

Problem is, CI for some reason decode's the url, and throws an error.

*I* should be the one to decode the url string, not CI. Any suggestions?


Messages In This Thread
Encoding URL's in JS - by El Forum - 08-19-2007, 12:49 AM
Encoding URL's in JS - by El Forum - 08-19-2007, 01:42 PM
Encoding URL's in JS - by El Forum - 08-19-2007, 02:53 PM
Encoding URL's in JS - by El Forum - 08-19-2007, 03:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB