Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 447 Bytes
<example>
<title>
Display the client connection and browser information
</title>
<para>
The client's remote address and port are kept in <envar>REMOTE_ADDR</envar>
and <envar>REMOTE_PORT</envar> variables. User's browser ID string is kept in
<envar>HTTP_USER_AGENT</envar>.
<programlisting><![CDATA[
Client connection: [env REMOTE_ADDR]:[env name="REMOTE_PORT"]<br/>
Client browser: [env arg="HTTP_USER_AGENT"]
]]></programlisting>
</example>
Jump to Line
Something went wrong with that request. Please try again.