|
|
CHARACTER UrlDecode (character)
|
/* UrlEncode */
|
|
|
CHARACTER UrlEncode (character)
|
/****************************************************************************
Description: Encodes unsafe characters in a URL as per RFC 1738 section 2.2.
<URL:http://ds.internic.net/rfc/rfc1738.txt>, 2.2
Input Parameters: Character string to encode, Encoding option where "query",
"cookie", "default" or any specified string of characters are valid.
In addition, all characters specified in the global variable url_unsafe
plus ASCII values 0 <= x <= 31 and 127 <= x <= 255 are considered unsafe.
Returns: Encoded string (unkown value is returned as blank)
Global Variables: url_unsafe, url_reserved
****************************************************************************/
|