Webmastersite.net
Register Log In

{SENDERIP}

Title {SENDERIP}
Description to work at a custom template
Message Text I'm trying to have contact forms for email fields.
I have created a custom template using most of email.tpl template.

I would like to use the {SENDERIP} variable to present the corresponding warning of not to spam.

But {SENDERIP} is not presenting the IP, at the custom template. I have tried also {MEMBERIP} and {THISMEMBERIP}. The last one works, but for an online registered user, but not for guests.

Is it possible to make {SENDERIP} to work at a custom template ?
If not, it would be useful to have another variable like {THISGUESTIP} ?

I understand a solution for now would be a direct inclusion of <?php echo $_SERVER['REMOTE_ADDR']; ?> on the custom template, ok?
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership peumus
Views 292 views. Averaging 0 views per day.
Submission Date Jan 21, 2007 - 9:10 AM