User manual
905U-G Wireless Gateway User Manual
Page 159 ©September 2004
Syntax: <?--#exec cmd_argument=’DisplayDNS2’-->
This function returns the address of the secondary DNS server
DisplayHostName
Syntax: <?--#exec cmd_argument=’DisplayHostName’-->
This function returns the hostname.
DisplayDomainName
Syntax: <?--#exec cmd_argument=’DisplayDomainName’-->
This function returns the default domain name.
DisplayDchpState
Syntax:
<?--#exec cmd_argument=’DisplayDhcpState( "Output when ON", "Output when
OFF")’-->
This function returns whether DHCP/BootP is enabled or disabled.
DisplayDhcpSupport
Syntax: <?--#exec cmd_argument=’DisplayDhcpSupport( "Arg1", "Arg2" )’-->
DHCP support can be disabled using configuration software. This function returns
‘Arg1’ if it’s enabled and ‘Arg2’ if it’s disabled.
DisplayEmailServer
Syntax: <?--#exec cmd:argument=’DisplayEmailServer’-->
This function returns the currently used SMTP server address.
DipslaySMTPUser
Syntax: <?--#exec cmd:argument=’DisplaySMTPUser’-->
This function returns the username used for SMTP authentication.
DipslaySMTPPswd
Syntax: <?--#exec cmd:argument=’DisplaySMTPPswd’-->
This function returns the password used for SMTP authentication.
GetText (Note - This function cannot be used within email messages)
Syntax:
<?--#exec cmd arbgument=’GetText( "ObjName", OutWriteString ( offset ), n )’-->
This SSI function gets the text from an object and stores it in the OUT area.
ObjName - Name of object.
offset - Specifies the offset from the beginning of the OUT area (i.e. Fieldbus
Location).
n - Specifies maximum number of characters to read (Optional)
printf
Syntax: <?--#exec cmd_argument=’printf("String to write", Arg1, Arg2, ..., ArgN)’-->