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?
|