Caudium.http_encode_url()
 
    NAME
Caudium.http_encode_url()

SYNOPSIS
string Caudium.http_encode_url(string what);

AVAILABILITY
Caudium 1.3+

DESCRIPTION
URL encode the specified string and return it. This means replacing the following characters to the %XX format: null (char 0), space, tab, carriage return, newline, and % ' " # & ? = / : +

string what
The string to encode.

RETURNS
The URL encoded string.

EXAMPLE
Pike v7.4 release 1 running Hilfe v3.5 (Incremental Pike Frontend)
> Caudium.http_encode_url("http://www.foo.com/paf.rxml plong ?");
(1) Result: "http%3A%2F%2Fwww.foo.com%2Fpaf.rxml%20plong%20%3F"
 
HTML OK CSS