10 years ago
Topic

Hello

It should be simple but I don't know how I can retrieve the IP of the user who is filling the form

thanks

cyril

Get a VIP membership
4229 Posts
Kadministrator
10 years ago
0
Level 1

Hi,

you would need to use one of the events in the code pack, e.g beforeStore and then change field value using code like this 

http://roshanbh.com.np/2007/12/getting-real-ip-address-in-php.html

just make sure it is properly sanitized before it is sent to the storage, users can manipulate this values.

10 years ago
0
Level 1

Hi again

Ok I found... here 

http://www.seblod.com/community/forums/fields-plug-ins/ip-address

thanks

cyril

Get a VIP membership