[Typo3] marks to display user IP Address

Floyd Arguello floyd at icommnetwork.com
Sat Nov 26 05:00:36 CET 2005


JoH wrote:
> 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
> 
> 
> 

Thanks, Joey, but no dice :(



More information about the TYPO3-english mailing list