This Function Has Been Available Since:|
(AFCommerce v 2.1, Functions v 1.1)
Escapes a string so that it may be used inside a website url.
string = urlescape (urlstring)
Some characters cause problems when inside a website url, so this function converts problem characters to their legal equivalent symbols. This function is rarely used.
string (urlstring) - website url that is to be escaped.
Returns the website url string after it has been escaped.
Open Source: No
// prepare a string to be used inside a website url
$url = urlescape ($url);
Back to Functions List