Jump to content

Recommended Posts

  • Moderators
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...