Lasso Soft Inc. > Home

[ web_request->serverAddr ]

Method

The [web_request->serverAddr] method returns the SERVER_ADDR web server variable sent to Lasso. This is generally the IP address of the web server.

  • Syntax
web_request->serverAddr
Examples
  • Beginner

Display web server IP address

The code below displays the SERVER_ADDR web server variable, which is usually set to the IP address of the server.

Code

web_request->serverAddr

Result

127.0.0.1

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft