[an error occurred while processing this directive]

Forms Processor Advanced Commands


Below is an alphabetical list of the functions available in the WebCom Form Processor.

&cc_check("cardtype","cardnumber");
performs a mathematical check on cardnumber to see if it is in the valid cardtype format
exit;
Terminates execution of a Form processor configuration file and exits.
&delete("filename");
deletes the file filename
&free_lock("filename");
removes an exclusive read/write access lock on filename
$output=hex(number);
returns the Hex representation of number
$outputt=index($haystack,"needle",[begin]);
returns the numeric offset into the source string of the string or character you are searching for
$integer=int(float);
returns an integer version of decimal number float
$output=length($string);
returns the length of $string
$output=oct(number);
returns the Octal representation of number
$number=rand(range);
returns a random number, the largest returned being that of range
&set_lock("filename");
sets an exclusive read/write access lock on filename
sleep(seconds);
stops execution of the current configuration file for seconds
&slurp("variable","filename");
reads data from filename into variable
$output=sprintf(format,variables);
formats data according to format and stores it in $output
$dummy=srand(seed);
randomizes the random number generator with optional seed
$output=substr($string,start,length);
returns the substring of $string as defined by start and length

[an error occurred while processing this directive]