Difference between revisions of "Talk:LlHTTPRequest"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
The following headers will be present, usable by scripts running on the HTTP server if the scripting language allows you to access the headers. | The following headers will be present, usable by scripts running on the HTTP server if the scripting language allows you to access the headers. | ||
An PHP example on how to check to see if the call came from the main grid: | An PHP example on how to check to see if the call came from the main grid: |
Revision as of 11:50, 9 May 2007
The following headers will be present, usable by scripts running on the HTTP server if the scripting language allows you to access the headers.
An PHP example on how to check to see if the call came from the main grid:
<?php if ($_SERVER["HTTP_X_SECONDLIFE_SHARD"] == "Production") { echo 'You are using the main grid'; } else { echo 'You are not using the main grid'; } ?>