[an error occurred while processing this directive]
![]() |
System Values |
System Values are reserved variable names which can capture special information, either from the server or from a browser accessing your site. They work similar to form input variables or Forms Processor parameters. When you include system value names in email messages, output to files, or HTML pages which are generated by the Forms Processor, the name of the system value will be substituted for the system value name.
For instance, if you have a form configuration file which generates an email message to be sent to you at userid@webcom.com, you can include the system value names $date and $time in order to grab the date and time from the server at the moment the email is geminated. To illustrate, a form configuration file such as:
format email name@isp.com from userid@webcom.com subject "Someone Filled Out My Form!" This email was sent on $date at $time. .
An email message that was generated by this configuration file would look something like this:
To: name@isp.com From: userid@webcom.com Subject: Someone Filled Out My Form! This email was sent on 11/18/98 at 12:32am.
The following system values are currently available:
format screen <HTML><HEAD><TITLE>System Value Demonstration</TITLE></HEAD> <BODY> <h1>Here are the system values grabbed by the form:</h1> The current time: <b>$time</b><br> The date is: <b>$date</b><br> The email address your browser reported: <b>$HTTP_FROM</b><br> The program used to download the page: <b>$HTTP_USER_AGENT</b><br> The domain name you are accessing us from: <b>$REMOTE_HOST</b><br> The IP address you are accessing us from: <b>$REMOTE_ADDR</b><p> <a href="/help/form_proc/system_values.shtml">Return</a> to t he System Values page.<P> </BODY> </HTML> .[an error occurred while processing this directive]