I need to encode a string before it's sent as a POST request, and will need to also substitute certain characters here and there.
I've looked at the Uri class, but I can't seem to figure out how to use it.
I'll also need to convert "\n" to chr(11) (well, that's the PHP representation--that is, I need to convert newlines into ASCII 11 characters).
Any help?
I've looked at the Uri class, but I can't seem to figure out how to use it.
I'll also need to convert "\n" to chr(11) (well, that's the PHP representation--that is, I need to convert newlines into ASCII 11 characters).
Any help?