CServer::URLEncode

The CServer::URLEncode function apply URL encoding to the specified string.

chchar * URLEncode(
chchar * in // containing the text to be URL encoded.
);



Return Type

chchar *
Upon successful completion, a string which contains the URL encoded text is returned. Otherwise, NULL is returned.


Parameters

in
A string containing the text to be URL encoded.


Remarks

This function applies URL encoding rules, including escape characters, to the specified string.


See Also

CServer, CServer::HTMLEncode

Example