How do I include IP address in notification email?
Posted: Sun Feb 18, 2007 7:17 pm
Have just upgraded to v1.5 mainly for the IP functionality due to consistent abuse of guestbook by one person. I delete malicious messages once they are posted but I need to try and keep a record of them hence I would like to include the IP address (and post time if possible) in the email notification.
What variable is used to store the IP address and can I reference it in the notification email? I have noticed $IP being used quite a lot but I have tried to include that in the email but it comes out blank - could I just use $REMOTE ADDR or is there a variable I can use already defined?
Also where can I change the date format to allow me to capture the time as well as date?
Many thanks
Jase
What variable is used to store the IP address and can I reference it in the notification email? I have noticed $IP being used quite a lot but I have tried to include that in the email but it comes out blank - could I just use $REMOTE ADDR or is there a variable I can use already defined?
Also where can I change the date format to allow me to capture the time as well as date?
Many thanks
Jase