title: jquery equivalent of php 'if ip equals' condition?
body: <p>I'd like to know, can the following PHP 'if' conditions can be done in jquery?</p>
  
  <pre><code>    if ($_SERVER['REMOTE_ADDR'] != '123.99.55.616') {
        // public doingness
      }
  
      if ($_SERVER['REMOTE_ADDR'] == '123.99.55.616') {
        // self doingness
      }
  </code></pre>
  
  <p>Or javascript, but preferably jquery; thanks.</p>
  
  <p>(Of course, if I could run these PHP snippets from within a JS file that would suit me just fine, but all the reading I've done so far leads me to believe it might not be doable.)</p>