[Typo3] marks to display user IP Address

Floyd Arguello floyd at icommnetwork.com
Sat Nov 26 01:57:41 CET 2005


Hi all, I'd like to display the user's IP Address when they access a 
form, and I thought that the marks tag would be a good way to go. 
Unfortunately, it doesn't work. This is what I have in my template setup:

marks.IPADDRESS = TEXT
marks.IPADDRESS.text = getenv:REMOTE_ADDR

also tried:
marks.IPADDRESS = TEXT
marks.IPADDRESS.value = getenv:REMOTE_ADDR

And this is what I have in my mailformplus template:
<div>Your IP Address has been recorded as ###IPADDRESS###</div>

I'm using cSet stylesheet, if that makes a difference.

Thanks,
Floyd



More information about the TYPO3-english mailing list