Availability
$WBCAPTCHA is available for use with all WBSP commands.
Syntax
$WBCAPTCHA{SourceText|TableBorder|ImageOn|ImageOff|CellWidth|CellColor|TableStyle|BorderColor|BackgroundColor}
$WBCAPTCHA[SourceText|TableBorder|ImageOn|ImageOff|CellWidth|CellColor|TableStyle|BorderColor|BackgroundColor]
Parameters
SourceText - a string that should be transformed to CAPTCHA
TableBorder - optional parameter - border thickness in pixels
ImageOn - optional parameter - URL of the image that will be placed in cells
that form the character (contain the dot)
ImageOff - optional parameter - URL of the image that will be placed in blank
cells
CellWidth - optional parameter - the width of a single cell in pixels
CellColor - optional parameter - the background color for cells that form the
character (contain the dot)
TableStyle - optional parameter - style for tables forming the characters
BorderColor - optional parameter - the color of the border
BackgroundColor - optional parameter - the background color for blank
cells
Returns
SourceText transformed into CAPTCHA.
Example
After running this example, the resulting page in browser, may look like this:
|
|
|
|
|
|
|
|