title: Magento CE 1.7 get the user ip included with the contact form
body: <p>One of my Magento CE 1.7 sites contact form is being spammed by human spam farms thus bypassing the Google reCaptcha implemented on such forms. The rate of spam received is an exorbitant 300 emails a day that have successfully verified the captcha.</p>
  
  <p>As the contact form is being used, no sender ip address is being emanated with the email, hence <strong>I need help and guidance on how to obtain the user IP and have this included with the spam contact email that I receive.</strong> </p>
  
  <p>The idea is to ban the IPs that are being used for spamming. </p>
  
  <p>The php call to get the user IP</p>
  
  <pre><code>echo Mage::helper('core/http')-&gt;getRemoteAddr(true);
  </code></pre>
  
  <p>How can I use this within the contact form and have the IP submitted with the contact form contact.</p>
  
  <p>I appreciate all the help.</p>
  
  <p>With best regards </p>
  
  <p>Fab</p>