Moderators mark1million Posted April 27, 2010 Moderators Report Share Posted April 27, 2010 Can anyone offer some help, I want to capture the ipaddress of anyone that uses the contact us form (contact_form.tpl) i have added the following to the form but do i need to modify the contact.php code in the modules folder as well? <input name="ip" type="hidden" value="<?PHP echo $_SERVER['REMOTE_ADDRESS']; ?>"> All that is displayed in the mail currently is -ip Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 27, 2010 Administrators Report Share Posted April 27, 2010 It'll automatically send it, but it might not always be REMOTE_ADDR Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.