Encodes a string so that it can be sent to a server via HTTP without interfering with the HTTP request. For example if you wanted to send a POST variable that contained the characters & or = these would look like additional variables inside the string you want to send. Using HTTPEncode on this string would turn these characters into POST safe values which are then automatically converted back to their original characters once they reach something like a PHP script. This uses standard URL encoding for non-alphanumeric characters leaving alphanumeric characters alone.
string HTTPEncode( str )