<doc>
	<legacy_id></legacy_id>
	<name>$_SERVER</name>
	<type>keyword</type>

	<syntax>
	</syntax>

	<synonyms>
	</synonyms>

	<summary><b>$_SERVER</b> is an array variable containing the CGI interface related variables, along with any HTTP_* variables that are available.</summary>

	<examples>
<example>put $_SERVER into tServerArray</example>
<example>put $_SERVER['QUERY_STRING'] into tQueryString</example>
<example><p>if $_SERVER['SERVER_ADDR'] is &quot;&quot; then</p><p>  ... do something ...</p><p>end if</p></example>
	</examples>

	<history>
		<introduced version="4.6.3">Introduced</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
	</platforms>

	<classes>
		<server/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<keyword tag="$_GET">$_GET Keyword</keyword>
		<keyword tag="$_POST">$_POST Keyword</keyword>
	</references>

	<description>
	<overview>Use the <b>$_SERVER</b> keyword to access the CGI interface related variables, along with any HTTP_* variables that are available.<p></p><p><b>$_SERVER</b> is only available when running in CGI mode (Server).</p></overview>

		<parameters>
		</parameters>

	<value></value>
	<comments>The list of CGI variables is:<p></p><p>GATEWAY_INTERFACE</p><p>SERVER_ADDR</p><p>SERVER_NAME</p><p>SERVER_SOFTWARE</p><p>SERVER_PROTOCOL</p><p>REQUEST_METHOD</p><p>REQUEST_TIME</p><p>QUERY_STRING</p><p>DOCUMENT_ROOT</p><p>HTTPS</p><p>REMOTE_USER</p><p>REDIRECT_REMOTE_USER</p><p>REMOTE_ADDR</p><p>REMOTE_HOST</p><p>REMOTE_PORT</p><p>SERVER_ADMIN</p><p>SERVER_PORT</p><p>SERVER_SIGNATURE</p><p>PATH_TRANSLATED</p><p>REQUEST_URI</p><p>PATH_INFO</p><p>SCRIPT_NAME</p><p>SCRIPT_FILENAME</p><p>CONTENT_TYPE</p><p>CONTENT_LENGTH</p><p></p><p></p><note>$_SERVER can be modified doing so has no effect and should be avoided (indeed, it might become read-only in future).</note></comments>
	</description>
</doc>