$WBFN

Availability
$WBFN is available for use with all WBSP commands.

Syntax
$WBFN{function(argument)}
$WBFN[function(arguments)]

Parameters
function - valid function name (see table below)
argument - optional parameter. Contains valid function argument where needed (see explanation for each function).
 
Functions without
arguments
Functions with
arguments
DATE
DAY
HTPASS
HTUSER
MONTH
SECONDS
TIME
USER
USERDATA
WEEKDAYN
WEEKDAYS
YEAR
ASC
BIN
CHR
FDT
HEX
INT
LCS
OCT
RND
SQR
UCS
UTF



Returns
Function result, depending on function used.

Example

<html>
    <body>
    Hello!
    Your IP address is <b>$wbe[REMOTE_ADDR]</b>.<br>
    Today is $wbfn[weekdays], $wbfn[fdt(dd-mmm-yyyy)].
    </body>
</html>
 

Result:

Hello! Your IP address is 127.0.0.1.
Today is Monday, 14-Apr-2008.