|
|
 |
 |
| AddVariableToUrl |
| |
Rewrite an URL to add a variable |
| |
| Library |
 |
wh::internet/http.whlib |
| |
| Syntax |
 |
PUBLIC STRING FUNCTION AddVariableToUrl (STRING url,STRING varname,STRING varvalue) |
| |
| Description |
 |
This function adds the requested variable to a URL, takes care of proper URL encoding and adding the necessary '?' and '&" characters to the URL. It will not try to eliminate duplicate variables on the URL |
| |
| Parameters |
 |
| url |
 |
URL to modify |
 |
| varname |
 |
Name of the variable to add |
 |
| varvalue |
 |
Value to set this variable to |
 |
|
| |
| Returns |
 |
The rewritten URL |
| |
|
|
|
|