Capture IP addr

Hi Nabeel, i would like to also capture the ip address of someone who sends a mail from the contact us page on the site, I have added the hidden field,

<input type=“hidden” name=“IP Address” value=

is it just the case of some code there to complete like

<?php echo (ipaddr ?>" />

Also once a mail has been sent it redirects to a blank page where is this so i can make it a but more friendly.

Thanks.

<input type=“hidden” name=“ipaddress” value=“<?php echo $_SERVER[‘REMOTE_ADDR’];?>” />

It shouldn’t goto a blank page. Lemme check

Ha,  found it. Google is your best friend lol.

Mine is going to a page displaying the captcha value.

Yeah I’ll have a patch out in a bit to fix that