[Typo3] marks to display user IP Address
JoH
info at cybercraft.de
Sat Nov 26 04:11:35 CET 2005
Floyd Arguello wrote:
> 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.
Try
marks.IPADDRESS = TEXT
marks.IPADDRESS.data = getenv:REMOTE_ADDR
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau
More information about the TYPO3-english
mailing list