How to print out an associative array item?
<p>I would like to know how you can <code>echo</code> the ip-address of the user such that you can use it in your login cookie.</p>

<p>My code</p>

<pre><code>&lt;?php
         echo "$_SERVER['REMOTE_ADDR']";
?&gt;
</code></pre>

<p>I run it and I get in Firefox</p>

<pre><code>Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/file7.php on line 2
</code></pre>

<p><strong>How can you get the IP-address by PHP?</strong></p>
