Make website accessible from one ip only
<p>We have about 15 computers with the same ip. We only want the site to be accessible inside our house.</p>

<p>On each page i have this code: </p>

<pre><code>if ($_SERVER['REMOTE_ADDR'] == 'our ip') {
  content
}
</code></pre>

<p>its works but i was just wondering if theres a more elegant,smarter way?</p>

<p>We use WAMP.</p>
